From a430aa0eab17dcd5b0cdb9e0b64529fee922657c Mon Sep 17 00:00:00 2001 From: sugoidogo Date: Wed, 29 Jan 2025 06:39:13 +0000 Subject: [PATCH] fix usage of hasScopes --- static/SugoiAuthProvider.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/SugoiAuthProvider.mjs b/static/SugoiAuthProvider.mjs index 75bc596..f9be5cd 100644 --- a/static/SugoiAuthProvider.mjs +++ b/static/SugoiAuthProvider.mjs @@ -82,7 +82,7 @@ export default class SugoiAuthProvider { return this.#token } for(const scopes of scopeSets){ - if(hasScopes(this.#token,scopes)){ + if(hasScopes(this.#token,...scopes)){ return this.#token } }