From 1215138f17fc792ca36f144b87f257dcf79eb84e Mon Sep 17 00:00:00 2001 From: dev-chiefworks Date: Sun, 24 Apr 2022 11:44:45 -0400 Subject: [PATCH] Trip Model call --- app/Controllers/Savvy.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/Controllers/Savvy.php b/app/Controllers/Savvy.php index 7c741b8..6b279e3 100644 --- a/app/Controllers/Savvy.php +++ b/app/Controllers/Savvy.php @@ -206,8 +206,14 @@ private function testCards(){ case 'getsavedtrips': $inx['action'] = SAVVY_USER_GETSAVEDTRIPS; - + $this->logArray($inx); + log_message('critical', "INTO -- API-WAS CALLED ************************************ =>".$endpoint ); + $trips = new \App\Models\userTrips(); + $outX["action"] = $inx["action"]; + $trips->savvyLoadSavedTrips($inx, $outX); + $res = $this->processOutJson($outX, $outX); + log_message('critical', "OUT API-WAS CALLED getsavedtrips************************************ =>".$endpoint ); break; case 'refreshsession':