From 87a6f47c893c7c902e9f24eb329b7e66d7198757 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Wed, 11 Sep 2024 22:46:43 -0400 Subject: [PATCH] ACCOUNT_HOMEBANNERS --- www-api/app/Controllers/WrenchBanners.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www-api/app/Controllers/WrenchBanners.php b/www-api/app/Controllers/WrenchBanners.php index 370fc73e..94894fb6 100644 --- a/www-api/app/Controllers/WrenchBanners.php +++ b/www-api/app/Controllers/WrenchBanners.php @@ -44,8 +44,8 @@ class WrenchBanners extends BaseController $raw_json = file_get_contents('php://input'); $in = json_decode($raw_json, true); $out =[]; - $in["action"] = WRENCHBOARD_ACCOUNT_HOMEBANNERS ; - $endpoint = $in["action"]."-". $in["uuid"]; // str_pad($in["uid"], 12, "0", STR_PAD_LEFT); + $in["action"] = WRENCHBOARD_ACCOUNT_HOMEBANNERS; + $endpoint = "ACCOUNT_HOMEBANNERS-". $in["uuid"]; // str_pad($in["uid"], 12, "0", STR_PAD_LEFT); $out = $this->getCache($endpoint); // try find in cache if ( count($out) == 0 ){ $ret = $this->wrenchboard->wrenchboard_api($in, $out);