Browse Source

Check token

add-license-1
novatorem 5 years ago
parent
commit
cdbfce6f08
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      api/spotify-playing.py

+ 1
- 1
api/spotify-playing.py View File

@ -42,7 +42,7 @@ def refresh_token():
response = requests.post(SPOTIFY_URL_REFRESH_TOKEN, data=data, headers=headers) response = requests.post(SPOTIFY_URL_REFRESH_TOKEN, data=data, headers=headers)
repsonse_json = response.json() repsonse_json = response.json()
print(repsonse_json)
return repsonse_json["access_token"] return repsonse_json["access_token"]


Loading…
Cancel
Save