diff options
| author | Adam Soltys <[email protected]> | 2021-08-04 17:08:25 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-08-04 17:08:48 -0700 |
| commit | 5858323cf0bb920c9f967239b7a1ef7915cf0824 (patch) | |
| tree | d3f325604adb5b057501ff2ae9c57e3a0f678b23 /routes/lightning | |
| parent | db5888df67d7120c0ee5d77f36ddcedbeae5455e (diff) | |
| download | coinos-server-5858323cf0bb920c9f967239b7a1ef7915cf0824.tar.gz coinos-server-5858323cf0bb920c9f967239b7a1ef7915cf0824.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 8d2aa750..39c5be15 100644 --- a/routes/lightning/receive.js +++ b/routes/lightning/receive.js @@ -67,7 +67,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); |
