From 2d7352ed9642ceea8beb32723191eb16d56830a6 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 25 Oct 2022 13:55:28 -0700 Subject: require pin on certain endpoints --- routes/payments.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'routes/payments.js') diff --git a/routes/payments.js b/routes/payments.js index d1b2ba4c..7a728daa 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -26,6 +26,8 @@ app.post("/send", auth, send); app.post("/sendToTokenHolders", auth, async (req, res, next) => { let { asset, amount } = req.body; + + let accounts = await db.Account.findAll({ where: { asset, -- cgit v1.2.3