From 3765ca1bb76eae75504015902e1e61e3863c577a Mon Sep 17 00:00:00 2001 From: sugoidogo Date: Mon, 27 Jan 2025 04:44:35 +0000 Subject: [PATCH] fix no scope token request --- static/SugoiAuthProvider.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/SugoiAuthProvider.mjs b/static/SugoiAuthProvider.mjs index 38c3e43..88cb23e 100644 --- a/static/SugoiAuthProvider.mjs +++ b/static/SugoiAuthProvider.mjs @@ -81,7 +81,7 @@ export default class SugoiAuthProvider { return this.#token } } - this.#token=await this.addUser(...scopeSets[0]).then(getTwurpleProxy) + this.#token=await this.addUser(...(scopeSets[0]||[])).then(getTwurpleProxy) return this.#token }