mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05:00
Added unique_id to the recipient data
no-issue This will be required by mailgun
This commit is contained in:
parent
2b285c5fd3
commit
00da426a02
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ const getEmailData = (post, members) => {
|
|||
const emailData = membersToSendTo.reduce((emailData, member) => {
|
||||
return Object.assign({
|
||||
[member.email]: {
|
||||
unique_id: member.uuid,
|
||||
unsubscribe_url: createUnsubscribeUrl(member)
|
||||
}
|
||||
}, emailData);
|
||||
|
|
Loading…
Add table
Reference in a new issue