aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-07-09 00:56:50 -0400
committerAdam Soltys <[email protected]>2020-07-09 00:56:50 -0400
commit6b00db46ec0f75d08c3fff77bcef45b9af891553 (patch)
tree68865500f28f907edf218b8b90b89be60719b1b9 /routes
parentc405440c832f54c98bae34b3f10506905199d5ce (diff)
downloadcoinos-server-6b00db46ec0f75d08c3fff77bcef45b9af891553.tar.gz
coinos-server-6b00db46ec0f75d08c3fff77bcef45b9af891553.zip
return payment
Diffstat (limited to 'routes')
-rw-r--r--routes/lightning/send.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/lightning/send.js b/routes/lightning/send.js
index ed561c52..60732425 100644
--- a/routes/lightning/send.js
+++ b/routes/lightning/send.js
@@ -4,7 +4,7 @@ module.exports = async (req, res) => {
let { user } = req;
try {
- res.send(await send(amount, pr, user));
+ res.send(await send(amount, payreq, user));
} catch (e) {
l.error("problem sending lightning payment", user.username, e.message);
throw new Error(e.message);