diff options
Diffstat (limited to 'routes/send.js')
| -rw-r--r-- | routes/send.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routes/send.js b/routes/send.js index cc277850..591b5ab7 100644 --- a/routes/send.js +++ b/routes/send.js @@ -1,8 +1,10 @@ import { err } from "$lib/logging"; import sendInternal from "$lib/sendInternal"; +import { requirePin } from "$lib/utils"; export default async (req, res, next) => { try { + await requirePin(req); let payment = await sendInternal(req.body, req.user); res.send(payment); } catch (e) { |
