diff options
| author | Adam Soltys <[email protected]> | 2024-10-24 20:57:51 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-10-30 23:35:24 +0000 |
| commit | fefc9e830d95c78886d2098845795aea91bd2191 (patch) | |
| tree | 9c8c5434676df0be2c9133c5ef71516050fb68bc | |
| parent | 72e2ff9b1d1f69677af1971a1fa88636cf8a1d63 (diff) | |
| download | coinos-server-fefc9e830d95c78886d2098845795aea91bd2191.tar.gz coinos-server-fefc9e830d95c78886d2098845795aea91bd2191.zip | |
fix type log
| -rw-r--r-- | lib/invoices.ts | 2 |
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 = { |
