Pass getSubject option to MagicLink module

no-issue
This commit is contained in:
Fabien O'Carroll 2019-10-10 20:20:15 +07:00
parent 2de53f8571
commit e04898cb3d

View File

@ -21,7 +21,8 @@ module.exports = function MembersApi({
mail: {
transporter,
getText,
getHTML
getHTML,
getSubject
},
setMetadata,
getMetadata,
@ -68,7 +69,8 @@ module.exports = function MembersApi({
privateKey,
getSigninURL,
getText,
getHTML
getHTML,
getSubject
});
async function sendEmailWithMagicLink(email, requestedType, options = {forceEmailType: false}){