diff --git a/service/wallets.js b/service/wallets.js index cf354f4..608eb3f 100644 --- a/service/wallets.js +++ b/service/wallets.js @@ -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) {