0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/api/canary/utils
Rishabh Garg 18b59d2c01
Removed archived tiers from content api (#14329)
closes https://github.com/TryGhost/Team/issues/1426

When fetching tiers using the content API, we incorrectly returned all tiers including archived ones unless the active:true filter is passed. Correct behaviour is to always hide archived tiers, so this filter should not be required.

- forces `active:true` filter for tiers content api browse
- updates test to check for archived test removal in tiers content api
2022-03-16 22:02:42 +05:30
..
serializers Removed archived tiers from content api (#14329) 2022-03-16 22:02:42 +05:30
validators Added /tiers API to Admin API (#14200) 2022-02-23 17:00:18 +02:00
index.js
permissions.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00