Skip to content

Commit

Permalink
fixes accessToken renewal
Browse files Browse the repository at this point in the history
  • Loading branch information
crohrer committed May 1, 2017
1 parent 6557117 commit 28a0023
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spotifyOAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ function getToken(code, refresh){
var responseJson = JSON.parse(body);
writeAccessToken(responseJson.access_token);
writeRefreshToken(responseJson.refresh_token);
spotifyOAuth.accessToken = responseJson.access_token;
require('./main').start();
});
});
Expand Down

0 comments on commit 28a0023

Please sign in to comment.