diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 45e55b3a5b..06c586e12d 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -1231,7 +1231,7 @@ App::get('/v1/account') ->inject('user') ->action(function (Response $response, Document $user) { - $response->dynamic($user, Response::MODEL_USER); + $response->dynamic($user, Response::MODEL_ACCOUNT); }); App::get('/v1/account/prefs')