Updated getMagicLink usage

no-issue

This updates the call to getMagicLink to correctly pass tokenData
This commit is contained in:
Fabien O'Carroll 2020-09-18 17:43:42 +01:00
parent 7b63fd6862
commit c0ac7b6b37

View File

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