aboutsummaryrefslogtreecommitdiffstats
path: root/lib/invoices.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-05 16:44:47 -0800
committerAdam Soltys <[email protected]>2026-02-06 09:00:10 -0800
commit4e9c0c5198c7884cfd97cb4495f6156632e3124a (patch)
treece8144806d7f88a7c3084eca3fd9669f13df54af /lib/invoices.ts
parent635ca5ad96c791bdd229f50c138b4f3292ae29ad (diff)
downloadcoinos-server-4e9c0c5198c7884cfd97cb4495f6156632e3124a.tar.gz
coinos-server-4e9c0c5198c7884cfd97cb4495f6156632e3124a.zip
payment forwarding
Diffstat (limited to 'lib/invoices.ts')
-rw-r--r--lib/invoices.ts2
1 files changed, 2 insertions, 0 deletions
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") {