From a80784c89273425f57e4f338ed79bb41ef52dbf3 Mon Sep 17 00:00:00 2001 From: Paul D'Ambra Date: Thu, 21 Sep 2023 14:55:27 +0100 Subject: [PATCH] i --- plugin-server/functional_tests/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin-server/functional_tests/api.ts b/plugin-server/functional_tests/api.ts index 0c876bf3a3983..29bf5c9a67b00 100644 --- a/plugin-server/functional_tests/api.ts +++ b/plugin-server/functional_tests/api.ts @@ -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 return queryResult.data.map((event) => { return {