From a35c20fe064997d1a872846d3683264699e569eb Mon Sep 17 00:00:00 2001 From: Antoine Gersant Date: Sun, 2 Jul 2017 15:09:40 -0700 Subject: [PATCH] Fixed typo --- src/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.rs b/src/api.rs index fe6cc71..a9af3bf 100644 --- a/src/api.rs +++ b/src/api.rs @@ -358,6 +358,6 @@ fn put_config(request: &mut Request, db: &DB) -> IronResult { _ => return Err(Error::from(ErrorKind::MissingConfig).into()), }; let config = config::parse_json(config)?; - config::ammend(db, &config)?; + config::amend(db, &config)?; Ok(Response::with(status::Ok)) }