Save one request for api_token

This commit is contained in:
RemixDev 2021-12-23 11:55:08 +01:00
parent 3a2da34216
commit e82392954d

View file

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