Ghost/ghost/members-api/lib
Fabien O'Carroll 631e78631f Updated linkSubscription to handle comped status
refs https://github.com/TryGhost/Team/issues/790

When linking a subscription to a member we must also update their
status. We could be in one of many states, so we start with the initial
values of either 'free' or 'comped' based on whether the member has any
products. We then make sure to updated the status to 'paid' if we find
any active subscriptions associated with the member, otherwise we leave
it as the initial value.
2021-07-06 11:14:49 +01:00
..
controllers Removed used of ghost-ignition dependency 2021-06-29 21:43:05 +01:00
migrations Added migration to revert portal_plans setting to named values 2021-06-04 12:14:57 +05:30
repositories Updated linkSubscription to handle comped status 2021-07-06 11:14:49 +01:00
services Removed used of ghost-ignition dependency 2021-06-29 21:43:05 +01:00
common.js Removed used of ghost-ignition dependency 2021-06-29 21:43:05 +01:00