diff --git a/ghost/members-api/index.js b/ghost/members-api/index.js index 7f3ad6162b..b8f05a3ac2 100644 --- a/ghost/members-api/index.js +++ b/ghost/members-api/index.js @@ -119,7 +119,7 @@ module.exports = function MembersApi({ } function getMagicLink(email) { - return magicLinkService.getMagicLink({email, subject: email, type: 'signin'}); + return magicLinkService.getMagicLink({tokenData: {email}, type: 'signin'}); } async function getMemberDataFromMagicLinkToken(token) {