mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-25 02:31:59 -05:00
Set from adress in the mega service
no-issue
This commit is contained in:
parent
cc39786958
commit
2b285c5fd3
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ const urlUtils = require('../../lib/url-utils');
|
|||
|
||||
const getEmailData = (post, members) => {
|
||||
const emailTmpl = postEmailSerializer.serialize(post);
|
||||
emailTmpl.from = membersService.config.getEmailFromAddress();
|
||||
|
||||
const membersToSendTo = members.filter((member) => {
|
||||
return membersService.contentGating.checkPostAccess(post, member);
|
||||
|
|
Loading…
Add table
Reference in a new issue