diff options
| author | Adam Soltys <[email protected]> | 2020-08-03 22:38:36 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-08-03 22:38:36 -0700 |
| commit | ba07b04fbbf9de058907db50a01daebf2ff4d6bb (patch) | |
| tree | b3c6e78458c708c6b5789f394fcfde1979a8912b /routes/invoices.js | |
| parent | 2bcd5e9cd2233934b6d78724a07172b187ceb0b0 (diff) | |
| download | coinos-server-ba07b04fbbf9de058907db50a01daebf2ff4d6bb.tar.gz coinos-server-ba07b04fbbf9de058907db50a01daebf2ff4d6bb.zip | |
handle liquid payments to user url
Diffstat (limited to 'routes/invoices.js')
| -rw-r--r-- | routes/invoices.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routes/invoices.js b/routes/invoices.js index f344e9f9..ba4da254 100644 --- a/routes/invoices.js +++ b/routes/invoices.js @@ -29,6 +29,7 @@ app.post("/invoice", ah(async (req, res, next) => { l.info( "creating invoice", + invoice.address, invoice.text, user.username, invoice.network, @@ -55,5 +56,6 @@ app.post("/invoice", ah(async (req, res, next) => { invoice = exists ? await exists.update(invoice) : await db.Invoice.create(invoice); addresses[invoice.address] = user.username; + if (invoice.unconfidential) addresses[invoice.unconfidential] = user.username; res.send(invoice); })); |
