diff options
| author | Adam Soltys <[email protected]> | 2021-05-21 14:05:02 -0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-05-21 14:05:02 -0400 |
| commit | 3ce9c73b1d4a281fe1475206d49c4f436e0b992e (patch) | |
| tree | 8e8324d74761f164d9615a068a0f4f840506e642 /routes/invoices.js | |
| parent | 37412d24f5c7b0c6d316ce240ef29cd4ccd2ca6d (diff) | |
| download | coinos-server-3ce9c73b1d4a281fe1475206d49c4f436e0b992e.tar.gz coinos-server-3ce9c73b1d4a281fe1475206d49c4f436e0b992e.zip | |
persist liquid conversion requests
Diffstat (limited to 'routes/invoices.js')
| -rw-r--r-- | routes/invoices.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/routes/invoices.js b/routes/invoices.js index a1928287..cb4b0cc1 100644 --- a/routes/invoices.js +++ b/routes/invoices.js @@ -27,7 +27,9 @@ app.post( let { liquidAddress, invoice, user, tx } = req.body; let { blindkey } = invoice; - if (liquidAddress) convert[invoice.text] = { address: liquidAddress, tx }; + if (liquidAddress) { + convert[invoice.text] = { address: liquidAddress, tx }; + } if (!user) ({ user } = req); else { |
