diff options
| author | Adam Soltys <[email protected]> | 2022-09-08 16:29:14 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-08 16:29:14 -0700 |
| commit | be27adba90c2c52ccbfac5885d70e5b37753fc58 (patch) | |
| tree | 3ea8a2e1700112782d3bd16517fff4a875d38756 /routes/lightning | |
| parent | d89458ebef267c7dc2290100ecb05b7d0891c224 (diff) | |
| parent | c60ad34877c44760263a9e93e99aa425ad0fdd99 (diff) | |
| download | coinos-server-be27adba90c2c52ccbfac5885d70e5b37753fc58.tar.gz coinos-server-be27adba90c2c52ccbfac5885d70e5b37753fc58.zip | |
Merge branch 'prod'
Diffstat (limited to 'routes/lightning')
| -rw-r--r-- | routes/lightning/send.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/routes/lightning/send.js b/routes/lightning/send.js index c5de7ece..ba88aaf6 100644 --- a/routes/lightning/send.js +++ b/routes/lightning/send.js @@ -1,3 +1,6 @@ +import { err } from "$lib/logging"; +import send from "$lib/send"; + export default async (req, res) => { let { amount, route, memo, payreq } = req.body; let { user } = req; @@ -5,6 +8,7 @@ export default async (req, res) => { try { res.send(await send(amount, memo, payreq, user)); } catch (e) { + console.log(e) err( "problem sending lightning payment", user.username, |
