mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-06 10:46:38 +00:00
Update to verify middleware & lists agenst new permissions tables
This commit is contained in:
@@ -62,7 +62,7 @@ export async function listOrgs(req: Request, res: Response, next: NextFunction):
|
||||
// // Add the user's role for each organization
|
||||
// const organizationsWithRoles = organizations.map(org => ({
|
||||
// ...org,
|
||||
// userRole: req.userOrgRoles[org.orgId],
|
||||
// userRole: req.userOrgRoleIds[org.orgId],
|
||||
// }));
|
||||
|
||||
return res.status(HttpCode.OK).send(
|
||||
|
||||
Reference in New Issue
Block a user