feat(chalice): fixed typo in get_events

This commit is contained in:
Alexander 2024-04-05 17:50:32 +02:00
parent f7d9f18681
commit 5bf4ee265f

View file

@ -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"):