diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 20f64496ac..6e7986160c 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -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); });