From 4e9c0c5198c7884cfd97cb4495f6156632e3124a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 5 Feb 2026 16:44:47 -0800 Subject: payment forwarding --- lib/invoices.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/invoices.ts') diff --git a/lib/invoices.ts b/lib/invoices.ts index 4a9d5c89..2d9d82ad 100644 --- a/lib/invoices.ts +++ b/lib/invoices.ts @@ -36,6 +36,7 @@ export const generate = async ({ invoice, user }) => { type = PaymentType.lightning, webhook, secret, + forward, } = invoice; amount = Number.parseInt(amount || 0); @@ -168,6 +169,7 @@ export const generate = async ({ invoice, user }) => { type, uid: user.id, webhook, + forward, }; if (type === "liquid") { -- cgit v1.2.3