fix usage of hasScopes
This commit is contained in:
@@ -82,7 +82,7 @@ export default class SugoiAuthProvider {
|
|||||||
return this.#token
|
return this.#token
|
||||||
}
|
}
|
||||||
for(const scopes of scopeSets){
|
for(const scopes of scopeSets){
|
||||||
if(hasScopes(this.#token,scopes)){
|
if(hasScopes(this.#token,...scopes)){
|
||||||
return this.#token
|
return this.#token
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user