1
0
Fork 0
mirror of synced 2024-09-30 17:26:48 +13:00

Fixed getUser

This commit is contained in:
Armino Popp 2020-01-16 12:59:24 +02:00
parent 5bfd1e602a
commit 637417f900

View file

@ -138,7 +138,7 @@ class Spotify extends OAuth
{
if (empty($this->user)) {
$this->user = json_decode($this->request('GET',
$this->resourceEndpoint, ['Authorization: Bearer '.urlencode($accessToken)]), true);
$this->resourceEndpoint . "me", ['Authorization: Bearer '.urlencode($accessToken)]), true);
}
return $this->user;