We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef371f6 + 2bd5334 commit 17081b3Copy full SHA for 17081b3
src/api/api/api_routes.py
@@ -46,7 +46,7 @@
46
async def fetch_chart_data():
47
try:
48
chart_service = ChartService()
49
- response = chart_service.fetch_chart_data()
+ response = await chart_service.fetch_chart_data()
50
track_event_if_configured(
51
"FetchChartDataSuccess",
52
{"status": "success", "source": "/fetchChartData"}
@@ -85,7 +85,7 @@ async def fetch_chart_data_with_filters(chart_filters: ChartFilters):
85
async def fetch_filter_data():
86
87
88
- response = chart_service.fetch_filter_data()
+ response = await chart_service.fetch_filter_data()
89
90
"FetchFilterDataSuccess",
91
{"status": "success", "source": "/fetchFilterData"}
0 commit comments