From d36fde046b575f3d983d75136ebaf2adc70a88ee Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Wed, 3 Aug 2022 14:35:10 +0100 Subject: [PATCH] fix redirect loop in overview page --- packages/worker/src/api/routes/global/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/worker/src/api/routes/global/users.js b/packages/worker/src/api/routes/global/users.js index e62e996443..677fe018e9 100644 --- a/packages/worker/src/api/routes/global/users.js +++ b/packages/worker/src/api/routes/global/users.js @@ -64,7 +64,7 @@ router .post("/api/global/users/search", builderOrAdmin, controller.search) .delete("/api/global/users/:id", adminOnly, controller.destroy) .post("/api/global/users/bulkDelete", adminOnly, controller.bulkDelete) - .get("/api/global/users/count/:appId", adminOnly, controller.countByApp) + .get("/api/global/users/count/:appId", controller.countByApp) .get("/api/global/roles/:appId") .post( "/api/global/users/invite",