From b605dd257984d3384c680de2cf64e44bfd3484ca Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 13 Jan 2021 22:31:48 -0800 Subject: disable insecure endpoints --- lib/send.js | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/send.js b/lib/send.js index b4fc9ac9..733c3cfb 100644 --- a/lib/send.js +++ b/lib/send.js @@ -1,6 +1,7 @@ const bolt11 = require("bolt11"); send = async (amount, memo, hash, user) => { + return res.status(500).send("Internal payments are temporarily disabled"); let payreq = bolt11.decode(hash); if (!amount) amount = payreq.satoshis; -- cgit v1.2.3