From 44d491603f43d1c74c67c8e30e87f721f66dff02 Mon Sep 17 00:00:00 2001 From: "DESKTOP-GBA0BK8\\Admin" Date: Sun, 16 Apr 2023 08:29:46 -0400 Subject: [PATCH] call backend --- www-api/app/Controllers/WrenchApi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www-api/app/Controllers/WrenchApi.php b/www-api/app/Controllers/WrenchApi.php index 8d432c7e..717cbfca 100644 --- a/www-api/app/Controllers/WrenchApi.php +++ b/www-api/app/Controllers/WrenchApi.php @@ -112,7 +112,7 @@ class WrenchApi extends BaseController //-- move to another module start - + $call_backend = true; $in["loc"] = $_SERVER["REMOTE_ADDR"]; switch ($endpoint) { case 'disableaccount': @@ -304,7 +304,7 @@ class WrenchApi extends BaseController { $out = $local_out; } - + //ResultFormatter return json_encode( ( new \App\Models\ResultFormatter() )->processOutJson($in, $out)); // $res1 = $this->dummyData($raw_array);