Update app/controllers/api/account.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Damodar LohaniandChristy Jacob authored and GitHub committed 2022-08-18 16:04:19 +05:45
1 parent 7c2ecaec4b
commit db9faebcc9
1 file changed
+1 -1
+1 -1
View File
@@ -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')