From e019e426f132de42270fba1e2d66736aaf108a1d Mon Sep 17 00:00:00 2001 From: shimon Date: Sun, 16 Mar 2025 13:47:54 +0200 Subject: [PATCH] debug --- app/controllers/api/account.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); });