fix get user rauth

This commit is contained in:
Milo Schwartz 2024-10-13 15:05:52 -04:00
parent 6908ec5bc2
commit 26a78e2c51
2 changed files with 4 additions and 1 deletions

View file

@ -185,7 +185,8 @@ authenticated.get(
role.listRoleActions,
);
authenticated.get("/user", verifySessionMiddleware, user.getUser);
unauthenticated.get("/user", verifySessionMiddleware, user.getUser);
authenticated.get("/org/:orgId/users", verifyOrgAccess, user.listUsers);
authenticated.delete(
"/org/:orgId/user/:userId",