getcandy / candy-api

GetCandy v1 E-Commerce API
https://getcandy.io
Apache License 2.0
444 stars 114 forks source link

Add basic validation on discounts #424

Open alecritson opened 2 years ago

alecritson commented 2 years ago

This PR looks to add some simple validation to discounts when updating so things like coupons can't be empty.