From 4efa82b36b74c633681ed831d6f567ae5ab08c3b Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 26 Aug 2024 22:18:56 -0700 Subject: fix some ts issues --- lib/invoices.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/invoices.ts') 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, -- cgit v1.2.3