Update app/controllers/api/account.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
parent
7c2ecaec4b
commit
db9faebcc9
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue