fix typo
This commit is contained in:
parent
2a566ae019
commit
8af8b81f29
@ -49,7 +49,7 @@ func (c Car) Verify() (bool, api2go.HTTPError) {
|
||||
ok := len(verifyErrors) == 0
|
||||
|
||||
if !ok {
|
||||
httpError := api2go.NewHTTPError(
|
||||
httpError = api2go.NewHTTPError(
|
||||
errors.New("Invalid content"),
|
||||
"Invalid content",
|
||||
http.StatusBadRequest)
|
||||
|
Loading…
x
Reference in New Issue
Block a user