diff --git a/app/Controllers/Savvy.php b/app/Controllers/Savvy.php index e75126e..8f0734c 100644 --- a/app/Controllers/Savvy.php +++ b/app/Controllers/Savvy.php @@ -293,7 +293,8 @@ private function testCards(){ break; case 'deletecard': $in["action"] = SAVVYEXT_USER_DELETECARD; break; - + + case 'getslidecarddata': case 'getdashcarddata': $inx["action"] = SAVVY_USERCARD_DASHCARD; log_message('critical', "INTO ++ API-WAS CALLED getdashcarddata************************************ =>".$endpoint ); @@ -306,21 +307,8 @@ private function testCards(){ log_message('critical', "OUT API-WAS CALLED getdashcarddata************************************ =>".$endpoint ); break; - case 'getslidecarddata': - $inx["action"] = SAVVY_USERSAPP_SLIDECARD; - $extension_call = false; - $cards = new \App\Models\userCards(); - //loadSliderCard($in, $out); - - $outX["action"] = $inx["action"]; - $cards->loadSavedCard($inx, $outX); - $res = $this->processOutJson($outX, $outX); - - - log_message('critical', "INTO API-WAS CALLED user************************************ =>".$endpoint ); - $this->logArray($inx); - log_message('critical', "OUT API-WAS CALLED user************************************ =>".$endpoint ); - break; + + case 'saveuserbudget': $in["action"] = SAVVY_USER_SAVEBUDGET; break;