List orgs in server

This commit is contained in:
Fred KISSIE
2026-08-28 21:42:20 +02:00
parent cb84c2954b
commit a904c915d8
5 changed files with 519 additions and 1 deletions
+1
View File
@@ -87,6 +87,7 @@ authenticated.get("/org/checkId", org.checkId);
authenticated.put("/org", getUserOrgs, org.createOrg);
authenticated.get("/orgs", verifyUserIsServerAdmin, org.listOrgs);
authenticated.get("/admin/orgs", verifyUserIsServerAdmin, org.adminListOrgs);
authenticated.get("/user/:userId/orgs", verifyIsLoggedInUser, org.listUserOrgs);
authenticated.get(