Wrap response in JSONResponse for proper serialization
- Import JSONResponse from fastapi.responses - Explicitly wrap response dict in JSONResponse - Add logging to confirm JSONResponse is being returned - This ensures FastAPI properly serializes the response dict - Fixes potential serialization issues causing client-side errors
Showing
Please
register
or
sign in
to comment