Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/mocha-10.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jankapunkt authored Jul 16, 2024
2 parents dc32d2c + f2e0a76 commit ac03b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/model/spec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ Returns ``true`` if the access token passes, ``false`` otherwise.
return false;
}
let authorizedScopes = token.scope;
return requestedScopes.every(s => token.scope.includes(scope));
return requestedScopes.every(s => authorizedScopes.includes(s));
}

--------
Expand Down

0 comments on commit ac03b4a

Please sign in to comment.