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;