You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Client.ts
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -242,6 +242,7 @@ export class Client {
242
242
*/
243
243
privateasync_init(options: ClientOptions){
244
244
if(!options.token)thrownewSpotifyAPIError('No token was provided in [ClientOptions]');
245
+
245
246
if(typeofoptions.token=="string"){
246
247
if(options.refreshToken)console.trace("[SpotifyClientWarn]: You have provided a token and used `refreshToken` option. Try to provide clientID, clientSecret or user authenication details.");
0 commit comments