mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 14:17:13 +01:00
Removed output parsing for clickhouse.
This commit is contained in:
parent
592708eafd
commit
7a0575e33a
9 changed files with 20 additions and 51 deletions
|
|
@ -115,18 +115,7 @@ async function clickhouseQuery(
|
|||
limit 500
|
||||
`,
|
||||
params,
|
||||
).then(a => {
|
||||
return Object.values(a).map(a => {
|
||||
return {
|
||||
...a,
|
||||
views: Number(a.views),
|
||||
visitors: Number(a.visitors),
|
||||
visits: Number(a.visits),
|
||||
bounces: Number(a.bounces),
|
||||
totaltime: Number(a.totaltime),
|
||||
};
|
||||
});
|
||||
});
|
||||
);
|
||||
}
|
||||
|
||||
function parseFields(fields: { name: any }[]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue