From fb91aa048617f0894e01c1e890ec957a3170539f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 5 Oct 2022 12:15:48 -0700 Subject: prettier --- routes/liquid/receive.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'routes/liquid') diff --git a/routes/liquid/receive.js b/routes/liquid/receive.js index cb5c5444..2cd0e957 100644 --- a/routes/liquid/receive.js +++ b/routes/liquid/receive.js @@ -355,10 +355,13 @@ setInterval(async () => { { transaction } ); await p.account.reload({ transaction }); + await p.invoice.reload({ transaction }); await p.save({ transaction }); p = p.get({ plain: true }); + p.account = p.account.get({ plain: true }); + p.invoice = p.invoice.get({ plain: true }); emit(user.username, "account", p.account); emit(user.username, "payment", p); -- cgit v1.2.3