From 5bf4ee265fb1fbc31528fc830bfd4906913b794d Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 5 Apr 2024 17:50:32 +0200 Subject: [PATCH] feat(chalice): fixed typo in get_events --- api/chalicelib/core/sessions_replay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/chalicelib/core/sessions_replay.py b/api/chalicelib/core/sessions_replay.py index 67e15979a..2a3c246cd 100644 --- a/api/chalicelib/core/sessions_replay.py +++ b/api/chalicelib/core/sessions_replay.py @@ -165,7 +165,7 @@ def get_events(project_id, session_id): if s_data is not None: s_data = helper.dict_to_camel_case(s_data) data = {} - if s_data["platform"] == 'ios' or data["platform"] == 'android': + if s_data["platform"] == 'ios' or s_data["platform"] == 'android': data['events'] = events_ios.get_by_sessionId(project_id=project_id, session_id=session_id) for e in data['events']: if e["type"].endswith("_IOS"):