mirror of
https://github.com/hexastack/hexabot
synced 2024-11-24 04:53:41 +00:00
fix(api): apply prettier rules
This commit is contained in:
parent
12ba999fb3
commit
35f60055af
@ -72,8 +72,7 @@ export class Ability implements CanActivate {
|
||||
.map(([_, value]) => value);
|
||||
|
||||
if (
|
||||
permissionsFromRoles.some(
|
||||
(permission) =>
|
||||
permissionsFromRoles.some((permission) =>
|
||||
permission[modelFromPathname]?.includes(MethodToAction[method]),
|
||||
)
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user