diff --git a/api/routers/subs/health.py b/api/routers/subs/health.py index 81e5294ea..8774af69d 100644 --- a/api/routers/subs/health.py +++ b/api/routers/subs/health.py @@ -17,4 +17,4 @@ if not tenants.tenants_exists(use_pool=False): if tenants.tenants_exists(): raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail=f"Not Found") - return await get_global_health_status() + return {"data": health.get_health()} diff --git a/ee/api/routers/subs/health.py b/ee/api/routers/subs/health.py index be583503b..6c0a08d61 100644 --- a/ee/api/routers/subs/health.py +++ b/ee/api/routers/subs/health.py @@ -20,4 +20,4 @@ if not tenants.tenants_exists(use_pool=False): if tenants.tenants_exists(): raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail=f"Not Found") - return await get_global_health_status() + return {"data": health.get_health()}