From edd6b1e8d3ac463df254821b033ad40ce071e519 Mon Sep 17 00:00:00 2001 From: dev-chiefworks Date: Thu, 14 Apr 2022 14:35:00 -0400 Subject: [PATCH] fix --- app/Controllers/Savvy.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Controllers/Savvy.php b/app/Controllers/Savvy.php index f4e34e6..dcb2dc6 100644 --- a/app/Controllers/Savvy.php +++ b/app/Controllers/Savvy.php @@ -191,9 +191,11 @@ class Savvy extends BaseController $res= $this->dummy_data(); } else{ - $res = FloatLogin::floatLoginUser($inx['username'], $inx['password']); + $resLogin = FloatLogin::floatLoginUser($inx['username'], $inx['password']); log_message('critical', "Login Returned=>".$endpoint ); $this->logArray($res); + $resLoginArray = json_decode($resLogin, true); + $this->logArray($resLoginArray); /* if (!empty($res)){ $data = json_decode($res, TRUE); if (isset($data['accessToken'])){