This commit is contained in:
GenZmeY 2021-03-20 20:51:04 +03:00
parent 2a566ae019
commit 8af8b81f29

View File

@ -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)