Ghost/ghost/members-api
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
..
lib Updated linkSubscription to handle comped status 2021-07-06 11:14:49 +01:00
test Updated webhook service to work with multiple products 2021-05-10 19:21:41 +01:00
.eslintrc.js Added default test dir and eslintrc 2019-05-07 17:35:17 +02:00
.gitignore Refactor members-api (#231) 2021-01-18 13:55:40 +00:00
index.js Removed redundant portal plans setting migration 2021-06-04 17:15:05 +05:30
package.json Update dependency nock to v13.1.0 2021-06-29 21:43:45 +01:00