api: config: access: openid: use correct parameter for matching

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-07-12 09:48:05 +02:00 committed by Thomas Lamprecht
parent 70fd0652a1
commit 9779ad0b00
1 changed files with 1 additions and 1 deletions

View File

@ -271,4 +271,4 @@ const ITEM_ROUTER: Router = Router::new()
pub const ROUTER: Router = Router::new() pub const ROUTER: Router = Router::new()
.get(&API_METHOD_LIST_OPENID_REALMS) .get(&API_METHOD_LIST_OPENID_REALMS)
.post(&API_METHOD_CREATE_OPENID_REALM) .post(&API_METHOD_CREATE_OPENID_REALM)
.match_all("id", &ITEM_ROUTER); .match_all("realm", &ITEM_ROUTER);