Created
September 12, 2018 18:45
-
-
Save gate5th/0eae5bac0555da121fd6931297dcfc9e to your computer and use it in GitHub Desktop.
oldschoolshuffle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function setAccessToken(accessToken) { | |
//since using spotifyApi as helper library you can set the access code once | |
//you get it and then not have to include it in every request | |
spotifyApi.setAccessToken(accessToken); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment