mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Fix usage.
This commit is contained in:
parent
a106098129
commit
671c9fc791
1 changed files with 2 additions and 2 deletions
|
|
@ -66,8 +66,8 @@ export default async (
|
||||||
|
|
||||||
const usage = websiteUsage.reduce(
|
const usage = websiteUsage.reduce(
|
||||||
(acc, cv) => {
|
(acc, cv) => {
|
||||||
acc.websiteEventUsage += cv.websiteEventUsage;
|
acc.websiteEventUsage += Number(cv.websiteEventUsage);
|
||||||
acc.eventDataUsage += cv.eventDataUsage;
|
acc.eventDataUsage += Number(cv.eventDataUsage);
|
||||||
|
|
||||||
return acc;
|
return acc;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue