diff --git a/www-api/app/Controllers/WrenchDashRecent.php b/www-api/app/Controllers/WrenchDashRecent.php index 0dedb4c2..a2584ed4 100644 --- a/www-api/app/Controllers/WrenchDashRecent.php +++ b/www-api/app/Controllers/WrenchDashRecent.php @@ -82,7 +82,7 @@ class WrenchDashRecent extends BaseController case 'dashrecent': log_message('critical', "WrenchDashRecent-Gate 006 ->".$endpoint); - $call_backend = fasle; + $call_backend = false; $this->dashRecent($in,$out); $in["action"] = WRENCHBOARD_USER_STARTCREDIT; break; @@ -105,7 +105,7 @@ class WrenchDashRecent extends BaseController $out = $local_out; } - return json_encode( ( new \App\Models\ResultFormatter() )->processOutJson($in, $out)); + return json_encode( ( new \App\Models\ResultFormatter() )->processRecentOutJson($in, $out)); return $this->response->setJson($response); } diff --git a/www-api/app/Models/ResultFormatter.php b/www-api/app/Models/ResultFormatter.php index 90473126..dcb55291 100644 --- a/www-api/app/Models/ResultFormatter.php +++ b/www-api/app/Models/ResultFormatter.php @@ -83,6 +83,11 @@ class ResultFormatter extends Model return $stArr[$status]; } + public function processRecentOutJson($in, $out) { + + return $out; + } + public function processOutJson($in, $out) {