From fb91aa048617f0894e01c1e890ec957a3170539f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 5 Oct 2022 12:15:48 -0700 Subject: prettier --- routes/bitcoin/receive.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'routes/bitcoin') 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); -- cgit v1.2.3