Ghost/ghost/members-api/lib
Rishabh Garg bee619c123 Updated link subscription to handle missing stripe data (#262)
refs https://github.com/TryGhost/Team/issues/619

On linking a stripe subscription to a member, this change -

- Adds missing stripe price or stripe product from subscription to DB
  - Missing Stripe price is attached to the first Ghost Product if no matching Product exists
- Updates usage from plan to price in the `linkSubscription` method
- Updates products associated with a member based on active subscriptions
2021-04-20 17:21:16 +05:30
..
controllers Added support for smart_cancel options 2021-03-30 10:36:45 +01:00
migrations Populate stripe prices and products for existing customers (#258) 2021-04-12 20:38:01 +05:30
repositories Updated link subscription to handle missing stripe data (#262) 2021-04-20 17:21:16 +05:30
services Updated link subscription to handle missing stripe data (#262) 2021-04-20 17:21:16 +05:30
common.js Added subscription update middleware (#107) 2019-12-12 15:19:36 +07:00