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);