mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
debug
This commit is contained in:
parent
adacec4ad1
commit
e019e426f1
1 changed files with 4 additions and 1 deletions
|
|
@ -2680,7 +2680,10 @@ App::get('/v1/account/prefs')
|
|||
->action(function (Response $response, Document $user) {
|
||||
|
||||
$prefs = $user->getAttribute('prefs', []);
|
||||
|
||||
var_dump([
|
||||
'location' => 'account::prefs',
|
||||
'$user' => $user,
|
||||
]);
|
||||
$response->dynamic(new Document($prefs), Response::MODEL_PREFERENCES);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue