Api v1.12.0 (#1230)
* feat(chalice): include enforceSSO in signup status * feat(chalice): changed 1-time health-check
This commit is contained in:
parent
a72348771f
commit
d0d47f4e6a
2 changed files with 2 additions and 2 deletions
|
|
@ -17,4 +17,4 @@ if not tenants.tenants_exists(use_pool=False):
|
||||||
if tenants.tenants_exists():
|
if tenants.tenants_exists():
|
||||||
raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail=f"Not Found")
|
raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail=f"Not Found")
|
||||||
|
|
||||||
return await get_global_health_status()
|
return {"data": health.get_health()}
|
||||||
|
|
|
||||||
|
|
@ -20,4 +20,4 @@ if not tenants.tenants_exists(use_pool=False):
|
||||||
if tenants.tenants_exists():
|
if tenants.tenants_exists():
|
||||||
raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail=f"Not Found")
|
raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail=f"Not Found")
|
||||||
|
|
||||||
return await get_global_health_status()
|
return {"data": health.get_health()}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue