aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-10-24 20:57:51 +0000
committerAdam Soltys <[email protected]>2024-10-30 23:35:24 +0000
commitfefc9e830d95c78886d2098845795aea91bd2191 (patch)
tree9c8c5434676df0be2c9133c5ef71516050fb68bc /lib
parent72e2ff9b1d1f69677af1971a1fa88636cf8a1d63 (diff)
downloadcoinos-server-fefc9e830d95c78886d2098845795aea91bd2191.tar.gz
coinos-server-fefc9e830d95c78886d2098845795aea91bd2191.zip
fix type log
Diffstat (limited to 'lib')
-rw-r--r--lib/invoices.ts2
1 files changed, 1 insertions, 1 deletions
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 = {