From 4e11ec53e07856308634ca639a3fcd32da022f54 Mon Sep 17 00:00:00 2001 From: dev-chiefworks Date: Thu, 14 Apr 2022 14:48:16 -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 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); }