aboutsummaryrefslogtreecommitdiffstats
path: root/lib/invoices.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-12-19 14:37:18 -0800
committerAdam Soltys <[email protected]>2023-12-20 14:39:08 -0800
commitb67ca07bac3a0cb78f9b3c19a783c3253f06c29f (patch)
tree1664d33bd1c514d016a7a1983af257197d4e5ac7 /lib/invoices.js
parent337ca8c555f188d64c9f065972d443377adf042f (diff)
downloadcoinos-server-b67ca07bac3a0cb78f9b3c19a783c3253f06c29f.tar.gz
coinos-server-b67ca07bac3a0cb78f9b3c19a783c3253f06c29f.zip
biome
Diffstat (limited to 'lib/invoices.js')
-rw-r--r--lib/invoices.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/invoices.js b/lib/invoices.js
index 1a1adda2..0cf2d72b 100644
--- a/lib/invoices.js
+++ b/lib/invoices.js
@@ -21,7 +21,7 @@ export let generate = async ({ invoice, user, sender, memo }) => {
prompt,
type,
webhook,
- secret
+ secret,
} = invoice;
amount = parseInt(amount || 0);
@@ -45,7 +45,7 @@ export let generate = async ({ invoice, user, sender, memo }) => {
label: id,
description: memo || "",
expiry: expiry || 60 * 60 * 24 * 30,
- deschashonly: true
+ deschashonly: true,
});
hash = r.bolt11;
@@ -76,7 +76,7 @@ export let generate = async ({ invoice, user, sender, memo }) => {
tip,
type,
uid: user.id,
- webhook
+ webhook,
};
l(type, "invoice", user.username, amount);