Fixed login for family accounts

v1.0.4
This commit is contained in:
RemixDev 2021-07-25 20:05:33 +02:00
parent 27a1fbb688
commit 871216a195
2 changed files with 4 additions and 4 deletions

View file

@ -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 {

View file

@ -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": {