Feat/um 145 re add events (#1733)

* Re-add events. Fix event_type queries.

* Re-add eventData

* revert CSS.
This commit is contained in:
Brian Cao
2023-01-05 19:39:29 -08:00
committed by GitHub
parent 796c65fa29
commit fcb1767eb1
13 changed files with 222 additions and 167 deletions

View File

@@ -32,7 +32,7 @@ async function clickhouseQuery(websites, startAt) {
created_at,
url
from event
where event_name = ''
where event_type = 1
and ${
websites && websites.length > 0
? `website_id in (${getCommaSeparatedStringFormat(websites)})`