Skip to content

Commit

Permalink
fix: linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hsynlms committed Oct 31, 2024
1 parent 8e38e14 commit b96e3a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ const checkScopeAndRole = (arr, req, options, property) => {
sufficient || (
Array.isArray(x)
? x.every(
scope => {
return permissions.indexOf(scope) >= 0
}
)
scope => {
return permissions.indexOf(scope) >= 0
}
)
: permissions.indexOf(x) >= 0
)
})
Expand Down

0 comments on commit b96e3a3

Please sign in to comment.