0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Pass through getText and getHTML function from mail

no-issue

This will allow consumers of this module to customise the content of emails
This commit is contained in:
Fabien O'Carroll 2019-10-01 14:35:09 +07:00
parent b852de95c8
commit ece58fe9fd

View file

@ -18,7 +18,9 @@ module.exports = function MembersApi({
},
paymentConfig,
mail: {
transporter
transporter,
getText,
getHTML
},
setMemberMetadata,
getMemberMetadata,
@ -58,7 +60,9 @@ module.exports = function MembersApi({
transporter,
publicKey,
privateKey,
getSigninURL
getSigninURL,
getText,
getHTML
});
async function sendEmailWithMagicLink(email, type){