mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 10:05:53 +02:00
change user role
This commit is contained in:
parent
e141263b7e
commit
1a3d7705d9
14 changed files with 320 additions and 306 deletions
|
@ -38,7 +38,7 @@ export async function verifyUserAccess(
|
|||
req.userOrg = res[0];
|
||||
}
|
||||
|
||||
if (req.userOrg) {
|
||||
if (!req.userOrg) {
|
||||
return next(
|
||||
createHttpError(
|
||||
HttpCode.FORBIDDEN,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue