aboutsummaryrefslogtreecommitdiffstats
path: root/routes/invoices.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-02-12 21:36:34 +0000
committerAdam Soltys <[email protected]>2025-02-12 21:36:34 +0000
commit7e8a215826a2bc83728cf9c017e5960aac38c0b0 (patch)
treea2d46dd6ddfaaa772ad8777f41c8ebd485502ed8 /routes/invoices.ts
parentc8cdd168b5504b2572a193d64b57f67a5f97a35c (diff)
downloadcoinos-server-7e8a215826a2bc83728cf9c017e5960aac38c0b0.tar.gz
coinos-server-7e8a215826a2bc83728cf9c017e5960aac38c0b0.zip
nwc refactor
Diffstat (limited to 'routes/invoices.ts')
-rw-r--r--routes/invoices.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/invoices.ts b/routes/invoices.ts
index 79f7b8f1..8b71208d 100644
--- a/routes/invoices.ts
+++ b/routes/invoices.ts
@@ -31,7 +31,7 @@ export default {
try {
res.send(await generate({ invoice, user }));
} catch (e) {
- err("problem generating invoice", e.message);
+ err("problem generating invoice", req.user?.username, body.user?.username, e.message);
bail(res, e.message);
}
},