From 906fb25670f4df54fc960ea651cab9b2077b003a Mon Sep 17 00:00:00 2001 From: Alexander Blair Date: Tue, 21 Feb 2017 21:13:09 -0800 Subject: [PATCH] That was bad. --- lib/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api.js b/lib/api.js index bbb1ef2..9bd1781 100644 --- a/lib/api.js +++ b/lib/api.js @@ -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)}); }); });