From 5f23cd7d8cd757ad15659f6b794921036ad795a4 Mon Sep 17 00:00:00 2001 From: dev-chiefworks Date: Mon, 18 Apr 2022 19:57:56 -0400 Subject: [PATCH] fix --- app/Controllers/Savvy.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/Controllers/Savvy.php b/app/Controllers/Savvy.php index 8f0734c..d9bd9f3 100644 --- a/app/Controllers/Savvy.php +++ b/app/Controllers/Savvy.php @@ -202,6 +202,15 @@ private function testCards(){ switch ($endpoint) { + case 'refreshsession' + if (isset($inx['sessionid'])){ + $inx['accessToken'] = $inx['sessionid']; + $resProfile = UserProfile::floatUserProfile($inx['accessToken']); + $this->logArray($resProfile); + $res = json_decode($resProfile, true); + $this->logArray($res); + } + break; case 'getdrycleanservicelist': $in["action"] = SAVVYEXT_USER_DRYCLIST; break; case 'createuser': $in["action"] = SAVVYEXT_USER_CREATE;