That was bad.
This commit is contained in:
parent
7b2ed80b6e
commit
906fb25670
1 changed files with 1 additions and 1 deletions
|
|
@ -505,7 +505,7 @@ secureRoutes.post('/changePayoutThreshold', function (req, res) {
|
|||
}
|
||||
threshold = global.support.decimalToCoin(threshold);
|
||||
global.mysql.query("UPDATE users SET payout_threshold = ? WHERE id = ?", [threshold, req.decoded.id]).then(function () {
|
||||
return res.json({'msg': 'Threshold updated, set to: ' + global.config.support.coinToDecimal(threshold)});
|
||||
return res.json({'msg': 'Threshold updated, set to: ' + global.support.coinToDecimal(threshold)});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue