diff --git a/backend/app/api/celestial_body.py b/backend/app/api/celestial_body.py index 78e7360..351833d 100644 --- a/backend/app/api/celestial_body.py +++ b/backend/app/api/celestial_body.py @@ -68,7 +68,7 @@ async def search_celestial_body( logger.info(f"Searching for celestial body: {name}") try: - result = horizons_service.search_body_by_name(name) + result = await horizons_service.search_body_by_name(name) if result["success"]: logger.info(f"Found body: {result['full_name']}")