mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
🐛 Fix test email member uuid (#12809)
refs: #12808 - we need to use the uuid, not the id, so that e.g. unsubscribe urls are set correctly - this is only for test emails, but it's still important to be able to test things fully!
This commit is contained in:
parent
0ef9a7e415
commit
7bac21d591
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ const sendTestEmail = async (postModel, toEmails, apiVersion) => {
|
|||
const member = await membersService.api.members.get({email});
|
||||
if (member) {
|
||||
return {
|
||||
member_uuid: member.get('id'),
|
||||
member_uuid: member.get('uuid'),
|
||||
member_email: member.get('email'),
|
||||
member_name: member.get('name')
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue