mirror of
https://github.com/hexastack/hexabot
synced 2024-11-28 06:52:20 +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);
|
.map(([_, value]) => value);
|
||||||
|
|
||||||
if (
|
if (
|
||||||
permissionsFromRoles.some(
|
permissionsFromRoles.some((permission) =>
|
||||||
(permission) =>
|
|
||||||
permission[modelFromPathname]?.includes(MethodToAction[method]),
|
permission[modelFromPathname]?.includes(MethodToAction[method]),
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user