From fefc9e830d95c78886d2098845795aea91bd2191 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 24 Oct 2024 20:57:51 +0000 Subject: fix type log --- lib/invoices.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/invoices.ts b/lib/invoices.ts index 38ebfc87..749994b4 100644 --- a/lib/invoices.ts +++ b/lib/invoices.ts @@ -91,7 +91,7 @@ export const generate = async ({ invoice, user }) => { } else if (type === types.internal) { hash = id; } else { - fail("unrecognized type", type); + fail(`unrecognized type ${type}`); } invoice = { -- cgit v1.2.3