1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00

Update app/controllers/api/account.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Damodar Lohani 2022-08-18 16:04:19 +05:45 committed by GitHub
parent 7c2ecaec4b
commit db9faebcc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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')