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:
Dominik Csapak 2020-05-29 10:53:35 +02:00 committed by Dietmar Maurer
parent 2888b27f4c
commit 426c1e353b

View File

@ -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);