summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-01-02 20:59:43 -0800
committerFuwn <[email protected]>2023-01-02 20:59:43 -0800
commitba35eb0739e424d5b875cc869f2964df6bf31624 (patch)
tree54eeecf901ab8616e5168eea6f8fb94b2dc48cbc
parentfix(spotify.py): headers (diff)
downloadrubys_song_skipper-ba35eb0739e424d5b875cc869f2964df6bf31624.tar.xz
rubys_song_skipper-ba35eb0739e424d5b875cc869f2964df6bf31624.zip
fix(spotify.py): headers
-rw-r--r--rubys_song_skipper/spotify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubys_song_skipper/spotify.py b/rubys_song_skipper/spotify.py
index 3fadc30..b4ee38a 100644
--- a/rubys_song_skipper/spotify.py
+++ b/rubys_song_skipper/spotify.py
@@ -17,7 +17,7 @@ def bearer(code):
# "client_secret": CLIENT_SECRET,
# },
headers={
- "Authorization": AUTHORIZATION,
+ "Authorization": f"Basic {AUTHORIZATION}",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded",
"code": code,