[pbs-devel] [PATCH proxmox-backup 2/5] api: config: access: openid: use correct parameter for matching

Dominik Csapak d.csapak at proxmox.com
Mon Jul 12 09:48:05 CEST 2021


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 src/api2/config/access/openid.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api2/config/access/openid.rs b/src/api2/config/access/openid.rs
index 9325de94..5ed1cdb3 100644
--- a/src/api2/config/access/openid.rs
+++ b/src/api2/config/access/openid.rs
@@ -271,4 +271,4 @@ const ITEM_ROUTER: Router = Router::new()
 pub const ROUTER: Router = Router::new()
     .get(&API_METHOD_LIST_OPENID_REALMS)
     .post(&API_METHOD_CREATE_OPENID_REALM)
-    .match_all("id", &ITEM_ROUTER);
+    .match_all("realm", &ITEM_ROUTER);
-- 
2.30.2






More information about the pbs-devel mailing list