Fixed typo
This commit is contained in:
parent
554aa3436c
commit
a35c20fe06
1 changed files with 1 additions and 1 deletions
|
@ -358,6 +358,6 @@ fn put_config(request: &mut Request, db: &DB) -> IronResult<Response> {
|
|||
_ => 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))
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue