Skip to content

Commit

Permalink
fixes oAuth error #4
Browse files Browse the repository at this point in the history
  • Loading branch information
crohrer committed Jun 9, 2016
1 parent a2a467e commit e8c85aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spotifyOAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var spotifyOAuth = {
getToken(undefined, refreshToken);
} catch (e){
console.log('no refreshToken found');
oAuth.authenticate();
spotifyOAuth.authenticate();
}
},
getAccessToken: function(){
Expand All @@ -47,7 +47,7 @@ var spotifyOAuth = {
return spotifyOAuth.accessToken;
} catch (e){
console.log('no accessToken found');
oAuth.refresh();
spotifyOAuth.refresh();
}
return false;
}
Expand Down

0 comments on commit e8c85aa

Please sign in to comment.