From f9533478eea8539dfa5ccbdb55d34440ed744f29 Mon Sep 17 00:00:00 2001 From: "DESKTOP-GBA0BK8\\Admin" Date: Mon, 10 Apr 2023 11:57:00 -0400 Subject: [PATCH] gate data --- app/Controllers/FloatWeb.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Controllers/FloatWeb.php b/app/Controllers/FloatWeb.php index 2edd1fe..ef54c95 100644 --- a/app/Controllers/FloatWeb.php +++ b/app/Controllers/FloatWeb.php @@ -530,9 +530,9 @@ variations from the norm, and in addition other reproductive organ issue $res1 = $this->getCache($endpoint); if (count($res1)==0){ - $res1 = $this->apiData(); - //$res1= $rawData; //[0]['payload']; - $this->saveCache($endpoint,$res1['payload']); + $rawData = $this->apiData(); + $res1= $rawData['payload']; //[0]['payload']; + $this->saveCache($endpoint,$res1); } //$resJson = $this->response->setJson($res1); return $res1;