aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-10-12 22:09:19 -0700
committerAdam Soltys <[email protected]>2023-10-12 22:09:19 -0700
commitd54bcdd4f25f52b6fccbd2d7c4e8ff3f72c8aafc (patch)
tree1f1417e3ce66e75127e7f719f650020290e4abcb /lib
parentc6f1fc33dd7e6670a8d07928b812b9e340c7970e (diff)
downloadcoinos-server-d54bcdd4f25f52b6fccbd2d7c4e8ff3f72c8aafc.tar.gz
coinos-server-d54bcdd4f25f52b6fccbd2d7c4e8ff3f72c8aafc.zip
fix issue with internal invoices
Diffstat (limited to 'lib')
-rw-r--r--lib/invoices.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/invoices.js b/lib/invoices.js
index 8ac49a79..607a67fc 100644
--- a/lib/invoices.js
+++ b/lib/invoices.js
@@ -81,6 +81,7 @@ export let generate = async ({ invoice, user, sender, memo }) => {
l("creating invoice", id, user.username, amount, tip, currency, invoice.hash);
await s(`invoice:${hash}`, id);
+ console.log("SETTING", invoice)
await s(`invoice:${id}`, invoice);
await db.lPush(`${user.id}:invoices`, id);