added owner country

This commit is contained in:
CHIEFSOFT\ameye
2024-10-18 21:51:27 -04:00
parent 413bfe5666
commit d721e5c51a
+1 -3
View File
@@ -15,7 +15,7 @@ var wallets = {
"sessionid": req.query.sessionid,
};
let Qstring = "";
Qstring = "SELECT w.amount,c.*,w.amount AS current_balance,c.country,c.banner, " +
Qstring = "SELECT w.amount,c.*,w.amount AS current_balance,c.country,c.banner, m.country AS owner_country, " +
" w.transfer_limit,w.uid AS wallet_uid, 0 AS escrow " +
"FROM members_wallet w " +
"LEFT JOIN currency c ON c.code=w.currency " +
@@ -34,8 +34,6 @@ var wallets = {
} catch (e) {
next(e.message, null); // pass control to the next handler
}
});
},
getuserkidswallet: function (req, res, next) {