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
|
ok := len(verifyErrors) == 0
|
||||||
|
|
||||||
if !ok {
|
if !ok {
|
||||||
httpError := api2go.NewHTTPError(
|
httpError = api2go.NewHTTPError(
|
||||||
errors.New("Invalid content"),
|
errors.New("Invalid content"),
|
||||||
"Invalid content",
|
"Invalid content",
|
||||||
http.StatusBadRequest)
|
http.StatusBadRequest)
|
||||||
|
Loading…
Reference in New Issue
Block a user