Skip to content

Commit 844342f

Browse files
docs: fixed verifyCode example
1 parent 5865315 commit 844342f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/model/spec.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ Returns ``true`` if the access token passes, ``false`` otherwise.
951951
return false;
952952
}
953953
let authorizedScopes = token.scope;
954-
return requestedScopes.every(s => token.scope.includes(scope));
954+
return requestedScopes.every(s => authorizedScopes.includes(s));
955955
}
956956

957957
--------

0 commit comments

Comments
 (0)