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 --- routes/swaps.js | 1 + 1 file changed, 1 insertion(+) (limited to 'routes/swaps.js') diff --git a/routes/swaps.js b/routes/swaps.js index b4d75b60..7311629c 100644 --- a/routes/swaps.js +++ b/routes/swaps.js @@ -450,6 +450,7 @@ app.post( "/orders", auth, ah(async (req, res) => { + return res.status(500).send("Trading temporarily disabled"); const { user } = req; try { await swap(user, req.body); -- cgit v1.2.3