Fixed getting authorized user

This commit is contained in:
aymm 2021-03-11 20:13:03 +00:00
parent 171b4a0ec6
commit 01b6b0bf8d

View File

@ -487,7 +487,7 @@ class APnutI
public function getAuthorizedUser(): User
{
return $this->getUser('/me');
return new User($this->get('/users/me'), $this);
}
public function getUser(int $user_id, array $args = [])