crAPI
crAPI copied to clipboard
Coupon and Coupons are different collections ?
https://github.com/OWASP/crAPI/blob/df1be10efa127a9cf1e0f9479836bedc980b9f36/services/community/api/models/coupon.go#L61
Does it intentional typo or not, because I can create a coupon but can't use that.
Pay attention on the validate coupon func and a collection name that used.
I recommend to use constants for table/collection names if you'll pass this manually in every calls.
Thank you for reporting the issue. Its a typo. Will sort this out.
Thx, have a nice day!