From 89bb37e756788ee3f09f12546ec352ec64a76d4f Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Thu, 8 Aug 2024 09:45:13 -0400 Subject: [PATCH] Input data --- www-api/app/Controllers/WrenchGeneralData.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www-api/app/Controllers/WrenchGeneralData.php b/www-api/app/Controllers/WrenchGeneralData.php index 34d50d9e..612399b1 100644 --- a/www-api/app/Controllers/WrenchGeneralData.php +++ b/www-api/app/Controllers/WrenchGeneralData.php @@ -29,6 +29,10 @@ class WrenchGeneralData extends BaseController } public function usersPreferences(){ + + $raw_json = file_get_contents('php://input'); + $in = json_decode($raw_json, true); + $in["action"] = WRENCHBOARD_ACCOUNT_PREFERENCES; $endpoint = "USER_PREFERENCES";