Ghost/ghost/tiers/lib
Fabien 'egg' O'Carroll 5a5ddcb609
🐛 Fixed Tiers API erroring when invalid filter passed (#19845)
closes ENG-730
closes https://linear.app/tryghost/issue/ENG-730/

We've updated the input serializer to parse the filter, and responded
with an error if it cannot be parsed correctly.

Now that it's parsed, we can pass a mongo query object through the
stack, which will lend itself to better typing for this code, which is a
direction we want to go in anyway. We've had to update all the internal
usages of the `browse` method to use mongo query objects.
2024-03-13 00:25:42 +07:00
..
InMemoryTierRepository.js 🐛 Fixed Tiers API erroring when invalid filter passed (#19845) 2024-03-13 00:25:42 +07:00
Tier.js Added defaults for monthly and yearly price 2022-12-07 22:02:37 +07:00
TierActivatedEvent.js Added support for Tier events 2022-10-20 17:31:33 +07:00
TierArchivedEvent.js Added support for Tier events 2022-10-20 17:31:33 +07:00
TierCreatedEvent.js Added support for Tier events 2022-10-20 17:31:33 +07:00
TierNameChangeEvent.js Added support for Tier events 2022-10-20 17:31:33 +07:00
TierPriceChangeEvent.js Added support for Tier events 2022-10-20 17:31:33 +07:00
TiersAPI.js 🐛 Fixed Tiers API erroring when invalid filter passed (#19845) 2024-03-13 00:25:42 +07:00