Fixed getUser
This commit is contained in:
parent
5bfd1e602a
commit
637417f900
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue