Trip Model call

This commit is contained in:
dev-chiefworks
2022-04-24 11:44:45 -04:00
parent 763759f044
commit 1215138f17
+7 -1
View File
@@ -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':