fix usage of hasScopes

This commit is contained in:
2025-01-29 06:39:13 +00:00
parent ca977afc23
commit a430aa0eab
+1 -1
View File
@@ -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
}
}