mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
Fixed bug with reapplying complimentary subscriptions
no-issue We should have been checking for the existence of active subscriptions in order to update them
This commit is contained in:
parent
40ef97e6d3
commit
77b328bf11
@ -299,7 +299,7 @@ module.exports = class MemberRepository {
|
||||
}, options);
|
||||
}
|
||||
|
||||
if (!subscriptions.length) {
|
||||
if (!activeSubscriptions.length) {
|
||||
const subscription = await this._stripeAPIService.createSubscription(stripeCustomer.id, complimentaryPlan.id);
|
||||
|
||||
await this.linkSubscription({
|
||||
|
Loading…
Reference in New Issue
Block a user