mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-08 05:56:38 +00:00
ability to remove user from org
This commit is contained in:
@@ -81,11 +81,11 @@ export async function updateRole(
|
||||
);
|
||||
}
|
||||
|
||||
if (role[0].isSuperuserRole) {
|
||||
if (role[0].isSuperUserRole) {
|
||||
return next(
|
||||
createHttpError(
|
||||
HttpCode.FORBIDDEN,
|
||||
`Cannot update a superuser role`
|
||||
`Cannot update a Super User role`
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user