From fc5ff5c9e4a7c83c32f0661a77e2b665bebe1309 Mon Sep 17 00:00:00 2001 From: "Fabien \"egg\" O'Carroll" Date: Wed, 26 Jan 2022 22:21:21 +0200 Subject: [PATCH] Fixed sending emails to paid signups refs https://github.com/TryGhost/Team/issues/1293 We were referencing the incorrect method from the members-api which would fail to send the email. --- ghost/stripe/lib/StripeService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/stripe/lib/StripeService.js b/ghost/stripe/lib/StripeService.js index a8912555c6..3f33f201e5 100644 --- a/ghost/stripe/lib/StripeService.js +++ b/ghost/stripe/lib/StripeService.js @@ -31,7 +31,7 @@ module.exports = class StripeService { return membersService.api.events; }, sendSignupEmail(email){ - return membersService.api.sendMagicLink({ + return membersService.api.sendEmailWithMagicLink({ email, requestedType: 'paid-signup', options: {