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
Rishabh Garg 3fa836690e
Updated to always invalidate cache on tier edit (#14267)
refs https://github.com/TryGhost/Team/issues/1240

We were selectively invalidating cache on tier/product edit which was consistent with pattern for other APIs, but in case of tier/product, the model changed method always returns false due to how its setup. This change updates the edit to always invalidate cache, similar to tier add, to ensure sites don't see old tier values.
2022-03-04 15:47:30 +00:00
..
utils Fixed include option not working for fetching tiers via #get helper 2022-03-04 18:22:59 +05:30
actions.js
authentication.js Added accentColor and description parameters to /authentication/setup route 2022-02-24 12:36:57 -04:00
authors-public.js
config.js
custom-theme-settings.js
db.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
email-post.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
email-preview.js
email.js
files.js
identities.js
images.js
index.js Added /tiers endpoint to Content API 2022-03-03 15:15:43 +02:00
integrations.js
invites.js
labels.js
mail.js
media.js Reworked media API thumbnail endpoint 2021-11-29 13:12:47 +04:00
members.js Added include as a valid option for members browse api 2022-02-28 15:30:15 +05:30
memberSigninUrls.js
membersStripeConnect.js
notifications.js
oembed.js Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00
offers.js
pages-public.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
pages.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
posts-public.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
posts.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
preview.js
products-public.js Included benefits with theme product data (#14051) 2022-01-24 13:55:25 +02:00
products.js Updated to always invalidate cache on tier edit (#14267) 2022-03-04 15:47:30 +00:00
redirects.js
roles.js
schedules.js
session.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
settings-public.js
settings.js 🐛 Fixed Offer Redemptions being over counted (#13988) 2022-01-18 17:56:47 +02:00
site.js
slack.js
slugs.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
snippets.js
tags-public.js
tags.js
themes.js
tiers-public.js Added /tiers endpoint to Content API 2022-03-03 15:15:43 +02:00
tiers.js Updated to always invalidate cache on tier edit (#14267) 2022-03-04 15:47:30 +00:00
users.js
webhooks.js