Skip to content

Commit

Permalink
i
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Sep 21, 2023
1 parent 1e92dd2 commit a80784c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin-server/functional_tests/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export const fetchSessionReplayEvents = async (teamId: number, sessionId?: strin
const queryResult = (await clickHouseClient.querying(
`SELECT min(min_first_timestamp), any(team_id), any(distinct_id), session_id FROM session_replay_events WHERE team_id = ${teamId} ${
sessionId ? ` AND session_id = '${sessionId}'` : ''
} group by sessionId ORDER BY min_first_timestamp ASC`
} group by session_id ORDER BY min_first_timestamp ASC`
)) as unknown as ClickHouse.ObjectQueryResult<RawSessionReplayEvent>
return queryResult.data.map((event) => {
return {
Expand Down

0 comments on commit a80784c

Please sign in to comment.