Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurPaivaT committed Mar 23, 2021
1 parent 294e88c commit 4533047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/validateProp.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func validateProp(prop interface{}, propDef AssetProp) (interface{}, error) {
} else {
propAsArray, ok = prop.([]interface{})
if !ok {
return nil, errors.NewCCError(fmt.Sprintf("asset property '%s' must and array of type '%s'", propDef.Label, propDef.DataType), 400)
return nil, errors.NewCCError(fmt.Sprintf("asset property '%s' must be an array of type '%s'", propDef.Label, propDef.DataType), 400)
}
retProp = []interface{}{}
}
Expand Down

0 comments on commit 4533047

Please sign in to comment.