diff options
| author | Adam Soltys <[email protected]> | 2021-08-04 17:08:25 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-08-04 17:08:25 -0700 |
| commit | f7e54dbc88a625286e848780d7a220a56a314d2f (patch) | |
| tree | 90500c1db3db9b4550e7852cec1798bd7c027da7 /routes/lightning | |
| parent | ada0daac6f74753bf7c50f260aaa999c36d43838 (diff) | |
| download | coinos-server-f7e54dbc88a625286e848780d7a220a56a314d2f.tar.gz coinos-server-f7e54dbc88a625286e848780d7a220a56a314d2f.zip | |
don't wait for webhook to complete
Diffstat (limited to 'routes/lightning')
| -rw-r--r-- | routes/lightning/receive.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/lightning/receive.js b/routes/lightning/receive.js index 32c54de6..0e98cd93 100644 --- a/routes/lightning/receive.js +++ b/routes/lightning/receive.js @@ -69,7 +69,7 @@ const handlePayment = async msg => { payment = payment.get({ plain: true }); payment.account = account.get({ plain: true }); - await callWebhook(invoice, payment); + callWebhook(invoice, payment); emit(user.username, "payment", payment); emit(user.username, "account", payment.account); |
