Ghost/core/server/api/canary
Fabien 'egg' O'Carroll ae844db60b
Fixed handling of Complimentary Stripe subscriptions (#13289)
refs https://github.com/TryGhost/Team/issues/995

Since we reintroduced the comped status, we did not update the
subscription handling to correctly set members to a status of comped
when they were on a 'Complimentary' plan. This meant that 'comped' members
had a status of 'paid'. The changes to @tryghost/members-api ensure that
handling subscriptions going forward will not result in this error.

Since we handle the Complimentary plan correctly now, we do not need to
manually check for the existence of one, we can instead rely on the
status to set the `comped` flag.
2021-09-07 11:31:47 +01:00
..
utils Fixed handling of Complimentary Stripe subscriptions (#13289) 2021-09-07 11:31:47 +01:00
actions.js Updated canary actions endpoint 2019-08-14 17:40:36 +08:00
authentication.js Fixed function complexity linting warning 2021-08-12 15:38:58 +04:00
authors-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
config.js Fixed max-api-complexity linting warnings for site and config APIs (#12982) 2021-05-26 12:10:19 +01:00
db.js Update cache invalidation on several routes 2021-07-07 18:12:51 +02:00
email-post.js Switched post routing to uuid instead of slug 2021-08-19 12:27:45 +04:00
email-preview.js Removed emailCardSegments labs flag (#13276) 2021-09-02 13:11:11 +01:00
email.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
identities.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
images.js Removed global.Promise override (#12182) 2020-11-04 10:55:47 +00:00
index.js Added eslint override for index.js false positives 2021-08-13 12:48:49 +01:00
integrations.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
invites.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
labels.js Refactored Labels API add method back to promises 2021-09-03 20:33:28 +04:00
mail.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
members.js Added dummy subscription to comped members 2021-08-26 15:28:55 +02:00
memberSigninUrls.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
membersStripeConnect.js Added precondition for Stripe Connect Admin API 2021-05-20 12:08:45 +01:00
notifications.js Fixed error being saved in notification settings 2021-06-03 12:54:09 +04:00
oembed.js Fixed function comlexity lint warning in oembeds 2021-08-23 10:36:18 +04:00
pages-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
pages.js Refactored posts service instantiation logic 2021-08-06 11:57:54 +04:00
posts-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
posts.js Refactored posts service instantiation logic 2021-08-06 11:57:54 +04:00
preview.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
products-public.js Supported monthly & yearly price in Products API 2021-06-03 17:08:02 +01:00
products.js Added support for benefits to Admin Products API 2021-06-29 16:53:15 +01:00
redirects.js Added .yaml format support in redirects configuration (#12187) 2020-11-04 12:08:32 +13:00
roles.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
schedules.js Removed method complexity in schedules API controller 2021-09-04 07:49:11 +12:00
session.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
settings-public.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
settings.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
site.js Fixed max-api-complexity linting warnings for site and config APIs (#12982) 2021-05-26 12:10:19 +01:00
slack.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
slugs.js Update cache invalidation on several routes 2021-07-07 18:12:51 +02:00
snippets.js Removed use of i18n in snippets controllers 2021-07-19 11:08:55 +01:00
tags-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
tags.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
themes.js Removed method complexity in themes API controller 2021-09-03 20:33:28 +04:00
users.js Update cache invalidation on several routes 2021-07-07 18:12:51 +02:00
webhooks.js Moved i18n to shared 2021-05-04 13:03:38 +01:00