summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-01-02 20:40:10 -0800
committerFuwn <[email protected]>2023-01-02 20:40:10 -0800
commite09663b935b98861d3c0db99144483461a23543a (patch)
tree57322baf3ad0f100bfab5e93dfaccd8c122fed11
parentfix: new bearer method (diff)
downloadrubys_song_skipper-e09663b935b98861d3c0db99144483461a23543a.tar.xz
rubys_song_skipper-e09663b935b98861d3c0db99144483461a23543a.zip
fix(spotify.py): authorization
-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 96b09d5..9e4ae72 100644
--- a/rubys_song_skipper/spotify.py
+++ b/rubys_song_skipper/spotify.py
@@ -15,7 +15,7 @@ def bearer(code):
# "client_secret": CLIENT_SECRET,
# },
headers={
- "Authorization": "",
+ "Authorization": f"{CLIENT_ID}:{CLIENT_SECRET}",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded",
},