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

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