From 84d578834f6c3e964c3313f8cb4f8f16ecf58bbe Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 6 May 2021 00:32:50 -0400 Subject: disable vouchers --- routes/send.js | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/send.js b/routes/send.js index e1d5aa27..36a0de58 100644 --- a/routes/send.js +++ b/routes/send.js @@ -45,6 +45,7 @@ module.exports = ah(async (req, res, next) => { }; if (!username) { + return res.status(500).send("Vouchers temporarily disabled"); l.info("creating redeemable payment"); params.redeemcode = uuidv4(); params.hash = `${req.get("origin")}/redeem/${params.redeemcode}`; -- cgit v1.2.3