Add stepper

This commit is contained in:
Owen Schwartz
2024-10-14 19:30:38 -04:00
parent b67e03677c
commit 0599421975
9 changed files with 365 additions and 27 deletions

View File

@@ -35,6 +35,7 @@ unauthenticated.get("/", (_, res) => {
export const authenticated = Router();
authenticated.use(verifySessionUserMiddleware);
authenticated.get("/org/checkId", org.checkId);
authenticated.put("/org", getUserOrgs, org.createOrg);
authenticated.get("/orgs", getUserOrgs, org.listOrgs); // TODO we need to check the orgs here
authenticated.get("/org/:orgId", verifyOrgAccess, org.getOrg);