Fix cache nami ng
This commit is contained in:
@@ -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 ){
|
||||
|
||||
Reference in New Issue
Block a user