mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
Turn your audience into a business. Publishing, memberships, subscriptions and newsletters.
bloggingcmsemberghosthacktoberfestheadless-cmsjamstackjavascriptjournalismnodejspublishingweb-application
631e78631f
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. |
||
---|---|---|
ghost |