diff options
| author | Fuwn <[email protected]> | 2023-01-02 21:00:19 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-01-02 21:00:19 -0800 |
| commit | b0f9aa0bc2e413b943de7e9d3b2c3a97a9e18058 (patch) | |
| tree | b89d19273ae72fe8dab27e15c757051a85ce948f | |
| parent | fix(spotify.py): headers (diff) | |
| download | rubys_song_skipper-b0f9aa0bc2e413b943de7e9d3b2c3a97a9e18058.tar.xz rubys_song_skipper-b0f9aa0bc2e413b943de7e9d3b2c3a97a9e18058.zip | |
fix(spotify.py): headers
| -rw-r--r-- | rubys_song_skipper/spotify.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rubys_song_skipper/spotify.py b/rubys_song_skipper/spotify.py index b4ee38a..57535d5 100644 --- a/rubys_song_skipper/spotify.py +++ b/rubys_song_skipper/spotify.py @@ -20,11 +20,11 @@ def bearer(code): "Authorization": f"Basic {AUTHORIZATION}", "Accept": "application/json", "Content-Type": "application/x-www-form-urlencoded", - "code": code, - "redirect_uri": "https://rss.rubyyyrl.twitch.fuwn.lol/callback", }, data={ "grant_type": "authorization_code", + "redirect_uri": "https://rss.rubyyyrl.twitch.fuwn.lol/callback", + "code": code, }, ) |