diff --git a/src/APnutI.php b/src/APnutI.php index c4f0fd0..9372223 100644 --- a/src/APnutI.php +++ b/src/APnutI.php @@ -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 = [])