Skip to content

Commit

Permalink
replace error message when invalid type
Browse files Browse the repository at this point in the history
  • Loading branch information
ibnu-assaumi authored and agungdwiprasetyo committed Dec 17, 2021
1 parent 4aed3de commit fe0fab0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ func newError(currentSubSchema *subSchema, err ResultError, context *JsonContext
t = "required"
d = locale.Required()
case *InvalidTypeError:
isReplaceError = false
t = "invalid_type"
d = locale.InvalidType()
case *NumberAnyOfError:
Expand Down

0 comments on commit fe0fab0

Please sign in to comment.