diff options
| author | Adam Soltys <[email protected]> | 2020-09-16 23:05:14 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-09-16 23:05:14 -0700 |
| commit | 49883ffcf2b01f4ca85f87cd55ba17cc8d6aaea9 (patch) | |
| tree | eb3befe88898a91a153690729d025e5f339f4cbf /routes/invoices.js | |
| parent | 55a37c3a545928553d6a540431f6266cb24fa401 (diff) | |
| download | coinos-server-49883ffcf2b01f4ca85f87cd55ba17cc8d6aaea9.tar.gz coinos-server-49883ffcf2b01f4ca85f87cd55ba17cc8d6aaea9.zip | |
add account network, fix internal asset transfers
Diffstat (limited to 'routes/invoices.js')
| -rw-r--r-- | routes/invoices.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/invoices.js b/routes/invoices.js index 092b5eae..934ff96c 100644 --- a/routes/invoices.js +++ b/routes/invoices.js @@ -47,7 +47,8 @@ app.post("/invoice", ah(async (req, res, next) => { const exists = await db.Invoice.findOne({ where: { [Op.or]: { - address: invoice.address || "undefined", + address: invoice.address || "", + unconfidential: invoice.unconfidential || "", text: invoice.text, }, }, |
