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

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.
This commit is contained in:
Fabien "egg" O'Carroll 2022-01-26 22:21:21 +02:00
parent bde49ccb0c
commit fc5ff5c9e4

View file

@ -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: {