diff options
| author | Derrick <[email protected]> | 2021-07-09 14:25:51 -0600 |
|---|---|---|
| committer | Derrick <[email protected]> | 2021-07-09 14:25:51 -0600 |
| commit | bf37962b00b323c412c2ea89bf60d24fbe4aa87b (patch) | |
| tree | 70ca171462fa40108495542c1b02c9844200859e /routes/lightning/receive.js | |
| parent | d7ef5e9ab7c6e04267bd1797466add8f57673598 (diff) | |
| parent | 4bde8faf1b9d91898447bdf2c63b0afd227f978c (diff) | |
| download | coinos-server-masterZ.tar.gz coinos-server-masterZ.zip | |
Merge branch 'master' into masterZmasterZ
Diffstat (limited to 'routes/lightning/receive.js')
| -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`); |
