mirror of
https://github.com/agersant/polaris
synced 2024-11-10 10:14:12 +00:00
Autoformat
This commit is contained in:
parent
f42e40b766
commit
300ddebfee
1 changed files with 6 additions and 2 deletions
|
@ -127,10 +127,14 @@ fn get_endpoints(db: Arc<DB>) -> Mount {
|
|||
let get_db = db.clone();
|
||||
let put_db = db.clone();
|
||||
settings_router.get("/",
|
||||
move |request: &mut Request| self::get_config(request, get_db.deref()),
|
||||
move |request: &mut Request| {
|
||||
self::get_config(request, get_db.deref())
|
||||
},
|
||||
"get_settings");
|
||||
settings_router.put("/",
|
||||
move |request: &mut Request| self::put_config(request, put_db.deref()),
|
||||
move |request: &mut Request| {
|
||||
self::put_config(request, put_db.deref())
|
||||
},
|
||||
"put_config");
|
||||
auth_api_mount.mount("/settings/", settings_router);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue