Skip to content

Commit 0a635df

Browse files
remove deprecated pydantic method
1 parent f675c68 commit 0a635df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mcp_bridge/health/router.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async def health():
1919
unhealthy_events=manager.get_unhealthy_events(),
2020
)
2121
# Return JSONResponse with custom status code and serialized content
22-
return JSONResponse(content=response.dict(), status_code=500)
22+
return JSONResponse(content=response.model_dump(), status_code=500)
2323

2424
# Create and return HealthCheckResponse for healthy state
2525
response = HealthCheckResponse(

0 commit comments

Comments
 (0)