mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 01:46:58 +01:00
Fix usage.
This commit is contained in:
parent
a106098129
commit
671c9fc791
@ -66,8 +66,8 @@ export default async (
|
||||
|
||||
const usage = websiteUsage.reduce(
|
||||
(acc, cv) => {
|
||||
acc.websiteEventUsage += cv.websiteEventUsage;
|
||||
acc.eventDataUsage += cv.eventDataUsage;
|
||||
acc.websiteEventUsage += Number(cv.websiteEventUsage);
|
||||
acc.eventDataUsage += Number(cv.eventDataUsage);
|
||||
|
||||
return acc;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user