From 17f425dbd10073d12918dabdf564550cea932928 Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Wed, 4 Jun 2025 10:10:46 +0200 Subject: [PATCH] refactor(chalice): added name to user-events --- api/chalicelib/core/events/events_ch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/chalicelib/core/events/events_ch.py b/api/chalicelib/core/events/events_ch.py index 384a31d3d..6e6593f11 100644 --- a/api/chalicelib/core/events/events_ch.py +++ b/api/chalicelib/core/events/events_ch.py @@ -9,7 +9,8 @@ def get_customs_by_session_id(session_id, project_id): SELECT `$properties`, properties, created_at, - 'CUSTOM' AS type + 'CUSTOM' AS type, + `$event_name` AS name FROM product_analytics.events WHERE session_id = %(session_id)s AND NOT `$auto_captured`