Skip to content

Commit

Permalink
fix(spotify): add success info for access token (#3575)
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed May 3, 2020
1 parent 7f4a97b commit 2911a87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bot/integrations/spotify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ class Spotify extends Integration {
const data = await this.client.refreshAccessToken();
this.client.setAccessToken(data.body.access_token);
this.retry.IRefreshToken = 0;
info(chalk.yellow('SPOTIFY: ') + 'Access token refreshed OK');
}
} catch (e) {
this.retry.IRefreshToken++;
Expand Down

0 comments on commit 2911a87

Please sign in to comment.