diff options
Diffstat (limited to 'routes/invoices.js')
| -rw-r--r-- | routes/invoices.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/invoices.js b/routes/invoices.js index 03911414..7a9a0d1d 100644 --- a/routes/invoices.js +++ b/routes/invoices.js @@ -22,7 +22,7 @@ export default { "pubkey", ]); - invoice.items ||= [] + invoice.items ||= []; } if (invoice) res.send(invoice); else res.code(500).send("invoice not found"); |
