mirror of
https://github.com/labstack/echo.git
synced 2025-07-01 00:55:04 +02:00
fix typo
This commit is contained in:
@ -37,7 +37,7 @@ func (b *binder) MaxMemory() int64 {
|
||||
|
||||
func (b *binder) Bind(r *http.Request, i interface{}) (err error) {
|
||||
if r.Body == nil {
|
||||
err = NewHTTPError(http.StatusBadRequest, "Requesr body can't be nil")
|
||||
err = NewHTTPError(http.StatusBadRequest, "Request body can't be nil")
|
||||
return
|
||||
}
|
||||
defer r.Body.Close()
|
||||
|
Reference in New Issue
Block a user