ability to remove user from org

This commit is contained in:
Milo Schwartz
2024-11-03 17:28:12 -05:00
parent 2852d62258
commit fadfaf1f0b
28 changed files with 718 additions and 264 deletions

View File

@@ -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`
)
);
}