Skip to content

Commit

Permalink
Fix SecurityUtils#aclRoleToNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBartusek committed May 19, 2024
1 parent 7d2f080 commit 1c33445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/security/helpers/security.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class SecurityUtils {
case OrganizationSecurityRole.MEMBER:
return 1;
default:
throw new TypeError(`Unknown ACL role: ${role}`);
return 0;
}
}
}

0 comments on commit 1c33445

Please sign in to comment.