diff options
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/lightning/send.js | 2 |
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); |
