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:
parent
2de53f8571
commit
e04898cb3d
1 changed files with 4 additions and 2 deletions
|
@ -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}){
|
||||||
|
|
Loading…
Add table
Reference in a new issue