diff options
| author | Fuwn <[email protected]> | 2023-01-02 20:44:09 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-01-02 20:44:09 -0800 |
| commit | 5c5021e09cb06d5947f90960be780907d934916c (patch) | |
| tree | fafa86943eeaf0dfb3243fd7bb0a38796e872049 | |
| parent | fix(spotify.py): json (diff) | |
| download | rubys_song_skipper-5c5021e09cb06d5947f90960be780907d934916c.tar.xz rubys_song_skipper-5c5021e09cb06d5947f90960be780907d934916c.zip | |
fix(spotify.py): debug
| -rw-r--r-- | rubys_song_skipper/spotify.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rubys_song_skipper/spotify.py b/rubys_song_skipper/spotify.py index 7ff9446..9226225 100644 --- a/rubys_song_skipper/spotify.py +++ b/rubys_song_skipper/spotify.py @@ -29,6 +29,8 @@ def bearer(code): if authorization.status_code == 200: json = authorization.json() + print(json) + return (json["access_token"], json["refresh_token"], json["expires_in"]) else: return None |