mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 17:45:38 +01:00
update CH rawquery and type
This commit is contained in:
parent
35d45334df
commit
98b7624e8f
17 changed files with 169 additions and 52 deletions
|
|
@ -172,5 +172,15 @@ async function clickhouseQuery(
|
|||
startDate,
|
||||
endDate,
|
||||
},
|
||||
);
|
||||
).then(a => {
|
||||
return Object.values(a).map(a => {
|
||||
return {
|
||||
date: a.date,
|
||||
day: Number(a.day),
|
||||
visitors: Number(a.visitors),
|
||||
returnVisitors: Number(a.returnVisitors),
|
||||
percentage: Number(a.percentage),
|
||||
};
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue