mirror of
https://gitlab.com/RemixDev/deezer-js.git
synced 2025-01-15 11:05:18 +00:00
Fixed login for family accounts
v1.0.4
This commit is contained in:
parent
27a1fbb688
commit
871216a195
|
@ -107,9 +107,9 @@ class Deezer{
|
||||||
'id': child.USER_ID,
|
'id': child.USER_ID,
|
||||||
'name': child.BLOG_NAME,
|
'name': child.BLOG_NAME,
|
||||||
'picture': child.USER_PICTURE || "",
|
'picture': child.USER_PICTURE || "",
|
||||||
'license_token': child.OPTIONS.license_token,
|
'license_token': user_data.USER.OPTIONS.license_token,
|
||||||
'can_stream_hq': child.OPTIONS.web_hq || child.OPTIONS.mobile_hq,
|
'can_stream_hq': user_data.USER.OPTIONS.web_hq || user_data.USER.OPTIONS.mobile_hq,
|
||||||
'can_stream_lossless': child.OPTIONS.web_lossless || child.OPTIONS.mobile_lossless
|
'can_stream_lossless': user_data.USER.OPTIONS.web_lossless || user_data.USER.OPTIONS.mobile_lossless
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "deezer-js",
|
"name": "deezer-js",
|
||||||
"version": "1.0.3",
|
"version": "1.0.4",
|
||||||
"description": "A wrapper for all Deezer's APIs",
|
"description": "A wrapper for all Deezer's APIs",
|
||||||
"main": "deezer/index.js",
|
"main": "deezer/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in a new issue