diff options
Diffstat (limited to 'item/validators.go')
| -rw-r--r-- | item/validators.go | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/item/validators.go b/item/validators.go index 1fba170..400f358 100644 --- a/item/validators.go +++ b/item/validators.go @@ -74,7 +74,7 @@ func (v *ItemVariant) validate() error {  	// check if QuantityInStock is float  	_, err = strconv.ParseFloat(v.QuantityInStock, 64)  	if err != nil && v.QuantityInStock != "" { -		return errors.ErrInvalidGSTPercentage +		return errors.ErrInvalidQuantityInStock  	}  	return nil  |