Update app/main.py
Browse files- 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"]
|
| 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 |
|