From acbc64c5a587905110cf4712d551dc7690484267 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Thu, 25 Jul 2024 10:04:00 -0400 Subject: [PATCH] wallet stuffs --- www-api/app/Controllers/WrenchWallet.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www-api/app/Controllers/WrenchWallet.php b/www-api/app/Controllers/WrenchWallet.php index d89111c1..18892dc7 100644 --- a/www-api/app/Controllers/WrenchWallet.php +++ b/www-api/app/Controllers/WrenchWallet.php @@ -230,14 +230,15 @@ class WrenchWallet extends BaseController - $this->doCacheStep($in, $out); + //$this->doCacheStep($in, $out); $final_out = $out; // start from all out $final_out["environment"] = $current_env + 0; // force convert to interger = $this->getSiteConfigurations("system.live"); $final_out["session_image_server"] = $primary_image_sever; // ( $final_out["environment"] > 0 )? 'https://apigate.nebula.g1.wrenchboard.com/en/wrench/api/v1/getmedia/' : "https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/getmedia/"; $final_out["server_tag"] = $server_tag; $final_out["language"] = "en"; $final_out["ip_loc"] = $ip_loc; - return json_encode( $final_out ); + // return json_encode( $final_out ); + return $this->respond( $this->summaryReturnData($in,$out), 200); } public function getWallet(){ log_message('critical', "0001");