diff options
| -rw-r--r-- | routes/payments.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/payments.js b/routes/payments.js index f298379a..6ca9cc60 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -153,6 +153,7 @@ export default { let totals = payments.reduce( (a, b) => ({ + ...a, [b.currency]: { sats: (a[b.currency] ? a[b.currency].sats : 0) + b.amount, fiat: ( |
