diff --git a/app/Controllers/Savvy.php b/app/Controllers/Savvy.php index 3ace1b4..b1402d5 100644 --- a/app/Controllers/Savvy.php +++ b/app/Controllers/Savvy.php @@ -200,7 +200,9 @@ class Savvy extends BaseController if (!empty($resLoginArray)){ if (isset($resLoginArray['accessToken'])){ - $res = UserProfile::floatUserProfile($resLoginArray['accessToken']); + $resProfile = UserProfile::floatUserProfile($resLoginArray['accessToken']); + $this->logArray($resProfile); + $res = json_decode($resProfile, true); $this->logArray($res); }