fix active bug

This commit is contained in:
Francis Cao 2023-03-29 11:16:02 -07:00
parent 95ed8a09aa
commit 3b7000a436

View File

@ -33,7 +33,7 @@ async function clickhouseQuery(websiteId: string) {
return rawQuery( return rawQuery(
`select count(distinct session_id) x `select count(distinct session_id) x
from event from website_event
where website_id = {websiteId:UUID} where website_id = {websiteId:UUID}
and created_at >= {startAt:DateTime('UTC')}`, and created_at >= {startAt:DateTime('UTC')}`,
params, params,