Fix usage.

This commit is contained in:
Brian Cao 2023-10-20 14:28:51 -05:00
parent a106098129
commit 671c9fc791

View File

@ -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;
},