summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-01-02 21:00:19 -0800
committerFuwn <[email protected]>2023-01-02 21:00:19 -0800
commitb0f9aa0bc2e413b943de7e9d3b2c3a97a9e18058 (patch)
treeb89d19273ae72fe8dab27e15c757051a85ce948f
parentfix(spotify.py): headers (diff)
downloadrubys_song_skipper-b0f9aa0bc2e413b943de7e9d3b2c3a97a9e18058.tar.xz
rubys_song_skipper-b0f9aa0bc2e413b943de7e9d3b2c3a97a9e18058.zip
fix(spotify.py): headers
-rw-r--r--rubys_song_skipper/spotify.py4
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,
},
)