fix(api): apply prettier rules

This commit is contained in:
yassinedorbozgithub 2024-09-29 08:06:57 +01:00
parent 12ba999fb3
commit 35f60055af

View File

@ -72,9 +72,8 @@ export class Ability implements CanActivate {
.map(([_, value]) => value); .map(([_, value]) => value);
if ( if (
permissionsFromRoles.some( permissionsFromRoles.some((permission) =>
(permission) => permission[modelFromPathname]?.includes(MethodToAction[method]),
permission[modelFromPathname]?.includes(MethodToAction[method]),
) )
) { ) {
return true; return true;