Skip to content

Commit

Permalink
fixed bug with RateLimitHandling & bumped version to 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
crohrer committed Jan 3, 2016
1 parent d2767b5 commit 3049398
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function getPlaylistTracks(offset){
var data = '';
if(res.statusCode !== 200) {
if (handleRateLimit(res, function(){
addToPlaylist(results);
getPlaylistTracks(offset);
})){ return; }
if(res.statusCode === 401){
oAuth.refresh();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spotifyRadioPlaylist",
"version": "2.1.0",
"version": "2.2.0",
"dependencies": {
"cheerio": "^0.19.0"
}
Expand Down

0 comments on commit 3049398

Please sign in to comment.