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'])){