исправил ошибку
This commit is contained in:
parent
d12a3b69f7
commit
7be2ec75e1
|
|
@ -44,7 +44,7 @@ class SongViewSet(GenericViewSet):
|
|||
}
|
||||
#Если трека нету в базе
|
||||
else:
|
||||
file_url = f'http://82.97.242.49:10084/api/station/it-radio/file/{request.data['azura_id']}'
|
||||
file_url = f"http://82.97.242.49:10084/api/station/it-radio/file/{request.data['azura_id']}"
|
||||
API_KEY = "49226d3488aac3f5:18d88659c6c1c5e131a0ce0a94d55235"
|
||||
headers = {
|
||||
"Authorization": f"Bearer {API_KEY}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue