From 8f2f79a5d47273c3fdba69001522c7f4487b066b Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 9 Mar 2024 20:36:03 -0500 Subject: [PATCH] loggers --- www-api/app/Controllers/WrenchWallet.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/www-api/app/Controllers/WrenchWallet.php b/www-api/app/Controllers/WrenchWallet.php index 98f17744..cee4adbe 100644 --- a/www-api/app/Controllers/WrenchWallet.php +++ b/www-api/app/Controllers/WrenchWallet.php @@ -116,7 +116,7 @@ class WrenchWallet extends BaseController public function getWallet(){ log_message('critical', "0001"); header('Access-Control-Allow-Origin: *'); - log_message('critical', "WrenchWallet Path GATE 001"); + log_message('critical', "WrenchWallet Path getWallet 001"); $call_backend = true; header("Access-Control-Allow-Headers: Origin, X-API-KEY, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method, Access-Control-Allow-Headers, Authorization, observe, enctype, Content-Length, X-Csrf-Token"); @@ -131,12 +131,8 @@ class WrenchWallet extends BaseController - if ($method == "OPTIONS") { - header("HTTP/1.1 200 OK CORS"); - log_message('critical', " WrenchJobs()-> OPTIONS DIE*****" ); - die(); - } - log_message('critical', "WrenchWallet Path GATE 003"); + + log_message('critical', "WrenchWallet Path getWallet 003"); //$request = service('request'); // what is the endpoint $uri = urldecode(current_url(true)); @@ -178,7 +174,7 @@ class WrenchWallet extends BaseController $in["action"] = 'getwallets'; //WRENCHBOARD_ACCOUNT_JOBLIST; - + log_message('critical', "before APIN call 0001"); if ( $call_backend == true && $in["action"] !='' ){ $local_url = "http://".$micro_service_net1.":3037/getwallets"; $out = $this->APIcall('GET', $local_url, $in);