0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00

Called cancelAllSubscriptions when destroying member

no-issue
This commit is contained in:
Fabien O'Carroll 2019-10-02 15:00:37 +07:00
parent 6fe46a79f3
commit 071a54be7d

View file

@ -43,7 +43,7 @@ module.exports = function ({
return;
}
if (stripe) {
await stripe.removeCustomer(member);
await stripe.cancelAllSubscriptions(member);
}
return deleteMember(data, options);
}