diff options
| author | Adam Soltys <[email protected]> | 2022-09-08 19:29:04 -0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-08 19:29:04 -0400 |
| commit | c60ad34877c44760263a9e93e99aa425ad0fdd99 (patch) | |
| tree | 3ea8a2e1700112782d3bd16517fff4a875d38756 /routes/lightning | |
| parent | bf408d384982a4ac40d490b4a7151ab110b1b7dd (diff) | |
| download | coinos-server-c60ad34877c44760263a9e93e99aa425ad0fdd99.tar.gz coinos-server-c60ad34877c44760263a9e93e99aa425ad0fdd99.zip | |
missing imports
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, |
