Fixed insights report.

This commit is contained in:
Mike Cao 2023-12-01 16:02:50 -08:00
parent d0e1912faf
commit e068ac0dd9
6 changed files with 16 additions and 15 deletions

View file

@ -86,8 +86,9 @@ async function clickhouseQuery(
).then(a => {
return Object.values(a).map(a => {
return {
x: a.x,
y: Number(a.y),
...a,
views: Number(a.views),
visitors: Number(a.visitors),
};
});
});