diff --git a/docs/handlers.md b/docs/handlers.md index ad37bb1..e284db1 100644 --- a/docs/handlers.md +++ b/docs/handlers.md @@ -160,7 +160,7 @@ from uapi.status import BadRequest T = TypeVar("T") -def make_error_response(exc: Exception, bytes: payload) -> BadRequest[None]: +def make_error_response(exc: Exception, payload: bytes) -> BadRequest[None]: # Examine the exception. return BadRequest("Bad payload buddy")