api2/config/sync: fix id parameter
'name' is not the correct parameter for get/post Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
2888b27f4c
commit
426c1e353b
|
@ -274,4 +274,4 @@ const ITEM_ROUTER: Router = Router::new()
|
|||
pub const ROUTER: Router = Router::new()
|
||||
.get(&API_METHOD_LIST_SYNC_JOBS)
|
||||
.post(&API_METHOD_CREATE_SYNC_JOB)
|
||||
.match_all("name", &ITEM_ROUTER);
|
||||
.match_all("id", &ITEM_ROUTER);
|
||||
|
|
Loading…
Reference in New Issue