diff options
Diffstat (limited to 'routes/bitcoin')
| -rw-r--r-- | routes/bitcoin/receive.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/routes/bitcoin/receive.js b/routes/bitcoin/receive.js index 3bc1750d..665cc2bc 100644 --- a/routes/bitcoin/receive.js +++ b/routes/bitcoin/receive.js @@ -231,9 +231,12 @@ setInterval(async () => { { transaction } ); await account.reload({ transaction }); + await invoice.reload({ transaction }); await p.save({ transaction }); p = p.get({ plain: true }); + p.account = account.get({ plain: true }); + p.invoice = invoice.get({ plain: true }); emit(user.username, "account", account); emit(user.username, "payment", p); |
