diff --git a/querybook/server/datasources/event_log.py b/querybook/server/datasources/event_log.py index 18caf8607..2138b594f 100644 --- a/querybook/server/datasources/event_log.py +++ b/querybook/server/datasources/event_log.py @@ -3,7 +3,7 @@ from lib.event_logger import event_logger -@register("/event_log/", methods=["POST"], api_logging=False) +@register("/context_log/", methods=["POST"], api_logging=False) def log_frontend_event(events: list[FrontendEvent]): """Log a list of frontend events. diff --git a/querybook/webapp/resource/analytics.ts b/querybook/webapp/resource/analytics.ts index 16bbc8857..92a0c7fc0 100644 --- a/querybook/webapp/resource/analytics.ts +++ b/querybook/webapp/resource/analytics.ts @@ -2,5 +2,5 @@ import { AnalyticsEvent } from 'const/analytics'; import ds from 'lib/datasource'; export const AnalyticsResource = { - create: (events: AnalyticsEvent[]) => ds.save(`/event_log/`, { events }), + create: (events: AnalyticsEvent[]) => ds.save(`/context_log/`, { events }), };