fix syntx

This commit is contained in:
CHIEFSOFT\ameye
2023-07-19 07:46:13 -04:00
parent f459542edc
commit b251f1b5ba
2 changed files with 7 additions and 2 deletions
+2 -2
View File
@@ -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);
}
+5
View File
@@ -83,6 +83,11 @@ class ResultFormatter extends Model
return $stArr[$status];
}
public function processRecentOutJson($in, $out) {
return $out;
}
public function processOutJson($in, $out) {