aboutsummaryrefslogtreecommitdiffstats
path: root/lib/invoices.js
diff options
context:
space:
mode:
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);