Ghost/core/server/api/canary/utils
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
..
serializers Fixed handling of Complimentary Stripe subscriptions (#13289) 2021-09-07 11:31:47 +01:00
validators Updated visibility validator for page/posts 2021-07-05 17:10:45 +05:30
index.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
permissions.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00