mirror of
https://gitlab.com/RemixDev/deezer-js.git
synced 2024-12-28 02:16:18 +00:00
Save one request for api_token
This commit is contained in:
parent
3a2da34216
commit
e82392954d
|
@ -89,6 +89,7 @@ class GW{
|
|||
}
|
||||
throw new GWAPIError(result_json.error)
|
||||
}
|
||||
if (!this.api_token && method == 'deezer.getUserData') this.api_token = result_json.results.checkForm
|
||||
return result_json.results
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue