diff --git a/backend/src/api/routes/dashboards/_helpers.py b/backend/src/api/routes/dashboards/_helpers.py index 6bda4b81..b099d763 100644 --- a/backend/src/api/routes/dashboards/_helpers.py +++ b/backend/src/api/routes/dashboards/_helpers.py @@ -98,7 +98,7 @@ async def _find_dashboard_id_by_slug_async( for query in query_variants: try: - _count, dashboards = await client.get_dashboards_page_async(query=query) + _count, dashboards = await client.get_dashboards_page(query=query) if dashboards: resolved_id = dashboards[0].get("id") if resolved_id is not None: diff --git a/backend/src/api/routes/git/_helpers.py b/backend/src/api/routes/git/_helpers.py index 62f57c9e..652e608b 100644 --- a/backend/src/api/routes/git/_helpers.py +++ b/backend/src/api/routes/git/_helpers.py @@ -175,7 +175,7 @@ async def _find_dashboard_id_by_slug_async( for query in query_variants: try: - _count, dashboards = await client.get_dashboards_page_async(query=query) + _count, dashboards = await client.get_dashboards_page(query=query) if dashboards: resolved_id = dashboards[0].get("id") if resolved_id is not None: