homebridge-xbox-tv 3.0.2-beta.2 → 3.0.2-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -190,7 +190,7 @@ class Authentication extends EventEmitter{
|
|
|
190
190
|
await this.saveTokens(this.tokens);
|
|
191
191
|
return { headers: `XBL3.0 x=${this.tokens.xsts.DisplayClaims.xui[0].uhs};${this.tokens.xsts.Token}`, tokens: this.tokens };
|
|
192
192
|
} else {
|
|
193
|
-
|
|
193
|
+
throw new Error('No oauth token found. Use authorization manager first.')
|
|
194
194
|
}
|
|
195
195
|
} catch (error) {
|
|
196
196
|
throw new Error(error);
|