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