mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-02 07:43:11 +03: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
@ -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…
Reference in New Issue
Block a user