LogicGoInfotechSpaces commited on
Commit
a34bff3
·
verified ·
1 Parent(s): 87ef999

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +2 -2
app/main.py CHANGED
@@ -29,8 +29,8 @@ app = FastAPI(
29
  app.include_router(api_router, prefix="/api/v1")
30
 
31
 
32
- @app.get("/health", tags=["Health"], response_model=None)
33
- async def health_check() -> Dict[str, Any]:
34
  checks: Dict[str, bool] = {"mongo": False, "openai": False}
35
  errors: Dict[str, str] = {}
36
 
 
29
  app.include_router(api_router, prefix="/api/v1")
30
 
31
 
32
+ @app.get("/health", tags=["Health"])
33
+ async def health_check() -> JSONResponse | Dict[str, Any]:
34
  checks: Dict[str, bool] = {"mongo": False, "openai": False}
35
  errors: Dict[str, str] = {}
36