From d0d47f4e6a5831ca24bfe08eae865c7ed6468023 Mon Sep 17 00:00:00 2001 From: Kraiem Taha Yassine Date: Thu, 4 May 2023 11:49:37 +0200 Subject: [PATCH] Api v1.12.0 (#1230) * feat(chalice): include enforceSSO in signup status * feat(chalice): changed 1-time health-check --- api/routers/subs/health.py | 2 +- ee/api/routers/subs/health.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()}