From 844342f96934e31da9a612200616c9c512ffc469 Mon Sep 17 00:00:00 2001 From: kristofferjansson Date: Fri, 12 Jul 2024 14:52:44 +0200 Subject: [PATCH] docs: fixed verifyCode example --- docs/model/spec.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/model/spec.rst b/docs/model/spec.rst index f18923f..df97d6b 100644 --- a/docs/model/spec.rst +++ b/docs/model/spec.rst @@ -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)); } --------