Fix cache nami ng

This commit is contained in:
CHIEFSOFT\ameye
2024-10-26 23:53:36 -04:00
parent da93e702d5
commit b6ed837ace
+2 -2
View File
@@ -183,7 +183,7 @@ class WrenchWallet extends BaseController
$raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true);
$out=[];
$endpoint = "WALLETS-USERS-KIDS-". $in["family_uid"];
$endpoint = "WALLETS-USERS_KIDS-". str_replace('-','_', $in["family_uid"]);
$in["loc"] = $_SERVER["REMOTE_ADDR"];
log_message('critical', "IN ARRAY for call 0001 -> ".serialize($in));
$in["action"] = 'getkidswallets'; //WRENCHBOARD_ACCOUNT_JOBLIST;
@@ -227,7 +227,7 @@ class WrenchWallet extends BaseController
$in = json_decode($raw_json, true);
$in["action"] = 'getwallets';
$out=[];
$endpoint = "WALLETS-USERS-". $in["uid"];
$endpoint = "WALLETS-USERS-". str_replace('-','_', $in["uid"]);
$out = $this->getCache($endpoint);
if (!is_array($out) || count($out)==0 ){