Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
forgot my token lol
Browse files Browse the repository at this point in the history
  • Loading branch information
Suprnova authored Sep 11, 2020
1 parent 07fd6ea commit d5e9cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ private async Task SourceSpotify()
int indexEnd = playlistURL.IndexOf("?si=");
playlistURL = playlistURL.Remove(indexEnd);
var config = SpotifyClientConfig.CreateDefault();
var request = new ClientCredentialsRequest("9c3de2315145490fb67ca0c1a26cefa4", "ff5ca8d5c4234d7691ab02b1909c7043");
var request = new ClientCredentialsRequest("<REDACTED>", "<REDACTED>");
var response = await new OAuthClient(config).RequestToken(request);
var spotify = new SpotifyClient(config.WithToken(response.AccessToken));
var playlist = await spotify.Playlists.GetItems(playlistURL);
Expand Down

0 comments on commit d5e9cb6

Please sign in to comment.