Skip to content

Commit 7768b27

Browse files
committed
fix: custom events
1 parent e2d00c1 commit 7768b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/rpc/src/lib/analytics-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ const buildStepQuery = (
207207
SELECT anonymous_id as vid, time as ts FROM analytics.events
208208
WHERE ${base} AND event_name = {t${idx}:String}${filterSQL}
209209
UNION ALL
210-
SELECT anonymous_id as vid, timestamp as ts FROM analytics.custom_events
210+
SELECT anonymous_id as vid, timestamp as ts FROM analytics.custom_event_spans
211211
WHERE client_id = {websiteId:String}
212212
AND timestamp >= parseDateTimeBestEffort({startDate:String})
213213
AND timestamp <= parseDateTimeBestEffort({endDate:String})

0 commit comments

Comments
 (0)