diff options
| author | Adam Soltys <[email protected]> | 2022-10-05 12:15:48 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-10-05 12:15:48 -0700 |
| commit | fb91aa048617f0894e01c1e890ec957a3170539f (patch) | |
| tree | 5630fbe3bb5eb67fc0fba2bba79b8b763609d93a /routes/liquid | |
| parent | 160d95f693d7d8a17e864313b06790a841d4e160 (diff) | |
| download | coinos-server-fb91aa048617f0894e01c1e890ec957a3170539f.tar.gz coinos-server-fb91aa048617f0894e01c1e890ec957a3170539f.zip | |
prettier
Diffstat (limited to 'routes/liquid')
| -rw-r--r-- | routes/liquid/receive.js | 3 |
1 files changed, 3 insertions, 0 deletions
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); |
