mirror of
https://github.com/THIS-IS-NOT-A-BACKUP/zspotify.git
synced 2026-11-10 18:12:25 +01:00
fix
This commit is contained in:
1 parent
46a3c45cbc
commit
87b564d609
1 file changed
+2
-2
@@ -80,14 +80,14 @@ class ZSpotify:
|
|||||||
def get_auth_header(cls):
|
def get_auth_header(cls):
|
||||||
return {
|
return {
|
||||||
'Authorization': f'Bearer {cls.__get_auth_token()}',
|
'Authorization': f'Bearer {cls.__get_auth_token()}',
|
||||||
'Accept-Language': f'{cls.CONFIG.get(LANGUAGE)}'
|
'Accept-Language': f'{cls.CONFIG.get("LANGUAGE")}'
|
||||||
}
|
}
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_auth_header_and_params(cls, limit, offset):
|
def get_auth_header_and_params(cls, limit, offset):
|
||||||
return {
|
return {
|
||||||
'Authorization': f'Bearer {cls.__get_auth_token()}',
|
'Authorization': f'Bearer {cls.__get_auth_token()}',
|
||||||
'Accept-Language': f'{cls.CONFIG.get(LANGUAGE)}'
|
'Accept-Language': f'{cls.CONFIG.get("LANGUAGE")}'
|
||||||
}, {LIMIT: limit, OFFSET: offset}
|
}, {LIMIT: limit, OFFSET: offset}
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Reference in new issue
Block a user