From 071a54be7de93286b289cccd4ed56a0c33a0cdbf Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Wed, 2 Oct 2019 15:00:37 +0700 Subject: [PATCH] Called cancelAllSubscriptions when destroying member no-issue --- ghost/members-api/lib/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/members-api/lib/users.js b/ghost/members-api/lib/users.js index 5805b6ce55..8c0bc3bb3d 100644 --- a/ghost/members-api/lib/users.js +++ b/ghost/members-api/lib/users.js @@ -43,7 +43,7 @@ module.exports = function ({ return; } if (stripe) { - await stripe.removeCustomer(member); + await stripe.cancelAllSubscriptions(member); } return deleteMember(data, options); }