mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 18:45:36 +01:00
fix clickhouse calls (#1536)
This commit is contained in:
parent
dfac7e1af5
commit
78c3453639
10 changed files with 41 additions and 34 deletions
|
|
@ -27,8 +27,8 @@ export default async (req, res) => {
|
|||
|
||||
const [pageviews, sessions] = await Promise.all([
|
||||
getPageviewStats(websiteId, {
|
||||
startDate,
|
||||
endDate,
|
||||
start_at: startDate,
|
||||
end_at: endDate,
|
||||
tz,
|
||||
unit,
|
||||
count: '*',
|
||||
|
|
@ -42,8 +42,8 @@ export default async (req, res) => {
|
|||
},
|
||||
}),
|
||||
getPageviewStats(websiteId, {
|
||||
startDate,
|
||||
endDate,
|
||||
start_at: startDate,
|
||||
end_at: endDate,
|
||||
tz,
|
||||
unit,
|
||||
count: 'distinct pageview.',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue