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, 2 insertions, 0 deletions
diff --git a/lib/invoices.ts b/lib/invoices.ts
index 6ddffe54..50cddd9a 100644
--- a/lib/invoices.ts
+++ b/lib/invoices.ts
@@ -131,6 +131,8 @@ export const generate = async ({ invoice, user }) => {
} else if (type === PaymentType.ecash) {
hash = id;
text = request(id, amount, memo);
+ } else if (type === PaymentType.ark) {
+ hash = id;
} else {
fail(`unrecognized type ${type}`);
}