Skip to content

Commit

Permalink
fix missing async
Browse files Browse the repository at this point in the history
  • Loading branch information
lufinkey committed Mar 9, 2019
1 parent 99b2994 commit 1323aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Spotify.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Spotify.authenticate = (options={}) => {


const sendRequest = Spotify.sendRequest;
Spotify.sendRequest = (endpoint, method, params, isJSONBody) => {
Spotify.sendRequest = async (endpoint, method, params, isJSONBody) => {
try {
return await sendRequest(endpoint, method, params, isJSONBody);
}
Expand Down

0 comments on commit 1323aeb

Please sign in to comment.