Ghost/ghost/offers/lib
Fabien O'Carroll c8933c9abd Fixed handling of null currency & used duration
no-issue

Currency is not always present on an offer so we need to handle it.
Duration was incorrectly not passed to Stripe when creating the coupon.
2021-10-07 18:18:53 +02:00
..
domain/models Fixed handling of null currency & used duration 2021-10-07 18:18:53 +02:00
events Used Value Objects to validate outside of Offer factory 2021-10-07 16:46:08 +02:00
shared Used Value Objects to validate outside of Offer factory 2021-10-07 16:46:08 +02:00
errors.js Added support for "once" and "forever" Offer duration 2021-10-07 17:13:23 +02:00
OfferMapper.js Added support for "once" and "forever" Offer duration 2021-10-07 17:13:23 +02:00
OfferRepository.js Fixed handling of null currency & used duration 2021-10-07 18:18:53 +02:00
OffersAPI.js Used Value Objects to validate outside of Offer factory 2021-10-07 16:46:08 +02:00
UniqueChecker.js Used Value Objects to validate outside of Offer factory 2021-10-07 16:46:08 +02:00