aboutsummaryrefslogtreecommitdiffstats
path: root/lib/invoices.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/invoices.ts')
-rw-r--r--lib/invoices.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/invoices.ts b/lib/invoices.ts
index 2f1225e7..04e1200b 100644
--- a/lib/invoices.ts
+++ b/lib/invoices.ts
@@ -11,7 +11,7 @@ import lq from "$lib/liquid";
import bc from "$lib/bitcoin";
import ln from "$lib/ln";
-export let generate = async ({ invoice, user, sender }) => {
+export let generate = async ({ invoice, user, sender = undefined }) => {
let {
bolt11,
currency,