diff --git a/api/src/user/guards/ability.guard.ts b/api/src/user/guards/ability.guard.ts index 2b4b989..05aa950 100644 --- a/api/src/user/guards/ability.guard.ts +++ b/api/src/user/guards/ability.guard.ts @@ -72,9 +72,8 @@ export class Ability implements CanActivate { .map(([_, value]) => value); if ( - permissionsFromRoles.some( - (permission) => - permission[modelFromPathname]?.includes(MethodToAction[method]), + permissionsFromRoles.some((permission) => + permission[modelFromPathname]?.includes(MethodToAction[method]), ) ) { return true;