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 } }