diff options
Diffstat (limited to 'routes/lightning')
| -rw-r--r-- | routes/lightning/receive.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routes/lightning/receive.js b/routes/lightning/receive.js index 55193d2d..32c54de6 100644 --- a/routes/lightning/receive.js +++ b/routes/lightning/receive.js @@ -69,6 +69,8 @@ const handlePayment = async msg => { payment = payment.get({ plain: true }); payment.account = account.get({ plain: true }); + await callWebhook(invoice, payment); + emit(user.username, "payment", payment); emit(user.username, "account", payment.account); notify(user, `Received ${total} SAT`); |
