From 49883ffcf2b01f4ca85f87cd55ba17cc8d6aaea9 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 16 Sep 2020 23:05:14 -0700 Subject: add account network, fix internal asset transfers --- routes/invoices.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'routes/invoices.js') 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, }, }, -- cgit v1.2.3