From b6ab92b91eb9cd5bc89b3a9de855137265e95d96 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 9 Nov 2024 05:26:40 -0500 Subject: [PATCH] removed caching --- www-api/app/Controllers/WrenchWallet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www-api/app/Controllers/WrenchWallet.php b/www-api/app/Controllers/WrenchWallet.php index 28f7c204..9be4afba 100644 --- a/www-api/app/Controllers/WrenchWallet.php +++ b/www-api/app/Controllers/WrenchWallet.php @@ -253,13 +253,13 @@ class WrenchWallet extends BaseController $endpoint = "WALLETS-USERS-". str_replace('-','_', $in["uid"]); $out = $this->getCache($endpoint); - if (!is_array($out) || !is_array($out['result_list']) || count($out['result_list'])==0 ){ + // if (!is_array($out) || !is_array($out['result_list']) || count($out['result_list'])==0 ){ $local_url = "http://".$this->micro_service_net1.":3037/getwallets"; $out = $this->APIcall('GET', $local_url, $in); if ( is_array($out['result_list']) && count($out['result_list']) > 0 ){ // dont cache empty $this->saveCache($endpoint,$out,60); } - } + // } if ( is_array($out) && isset($out['result_list'])){ foreach ($out['result_list'] as $index=>$item){