3f70cc08b7
refs https://github.com/TryGhost/Product/issues/4196 The offers API basically returns the data you pass to it, rather than the created database record. It looks like this is how it was intended to work in the first place; the `setMilliseconds` is because the test helper expects `.000Z`, which I assume is because MySQL will strip off the milliseconds when it's saved. |
||
---|---|---|
.. | ||
shared | ||
Offer.js | ||
OfferAmount.js | ||
OfferCadence.js | ||
OfferCode.js | ||
OfferCreatedAt.js | ||
OfferCurrency.js | ||
OfferDescription.js | ||
OfferDuration.js | ||
OfferName.js | ||
OfferStatus.js | ||
OfferTitle.js | ||
OfferType.js |