From c0fec29803e959effcb9718abeb036078aef88b4 Mon Sep 17 00:00:00 2001 From: srosset81 Date: Mon, 25 Nov 2024 15:08:00 +0100 Subject: [PATCH] Fix WAC groups routes --- src/middleware/packages/webacl/routes/getRoutes.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/middleware/packages/webacl/routes/getRoutes.js b/src/middleware/packages/webacl/routes/getRoutes.js index c33b6f6e1..0aa881163 100644 --- a/src/middleware/packages/webacl/routes/getRoutes.js +++ b/src/middleware/packages/webacl/routes/getRoutes.js @@ -56,11 +56,11 @@ const getRoutes = (basePath, podProvider) => { authentication: true, aliases: { 'POST /': [parseHeader, 'webacl.group.api_create'], - 'GET /:id*': ['webacl.group.api_getMembers'], + 'GET /:id+': ['webacl.group.api_getMembers'], 'GET /': ['webacl.group.api_getGroups'], - 'DELETE /:id*': ['webacl.group.api_delete'], - 'PATCH /:id*': ['webacl.group.api_addMember'], - 'PUT /:id*': ['webacl.group.api_removeMember'] + 'DELETE /:id+': ['webacl.group.api_delete'], + 'PATCH /:id+': ['webacl.group.api_addMember'], + 'PUT /:id+': ['webacl.group.api_removeMember'] }, bodyParsers: { json: true