Ghost/ghost/offers/lib/domain/models
Jono M 3f70cc08b7
Fixed create offer API not returning created_at (#19143)
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.
2023-11-28 15:11:35 +00:00
..
shared Ensured correct usage of @tryghost/errors everywhere 2022-02-15 12:30:36 +00:00
Offer.js Fixed create offer API not returning created_at (#19143) 2023-11-28 15:11:35 +00:00
OfferAmount.js Updated offers setup to allow trial values 2022-08-11 11:04:39 +05:30
OfferCadence.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferCode.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferCreatedAt.js Fixed create offer API not returning created_at (#19143) 2023-11-28 15:11:35 +00:00
OfferCurrency.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferDescription.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferDuration.js Updated offers setup to allow trial values 2022-08-11 11:04:39 +05:30
OfferName.js Ensured correct usage of @tryghost/errors everywhere 2022-02-15 12:30:36 +00:00
OfferStatus.js Ensured correct usage of @tryghost/errors everywhere 2022-02-15 12:30:36 +00:00
OfferTitle.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferType.js Updated offers setup to allow trial values 2022-08-11 11:04:39 +05:30