mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01:00
fix clickhouse calls (#1536)
This commit is contained in:
parent
dfac7e1af5
commit
78c3453639
10 changed files with 41 additions and 34 deletions
|
|
@ -44,7 +44,7 @@ async function clickhouseQuery(websites, start_at) {
|
|||
language,
|
||||
country
|
||||
from event
|
||||
where ${websites && websites.length > 0 ? `(website_id in (${websites.join[',']})` : '0 = 0'}
|
||||
where ${websites && websites.length > 0 ? `website_id in (${websites.join(',')})` : '0 = 0'}
|
||||
and created_at >= ${getDateFormat(start_at)}`,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue