mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Fixed {subscriber_firstname} not picking up member's name in emails
no issue - in our replacements the member properties are prefixed with `subscriber_` but this wasn't taken into account when requesting data from the member object
This commit is contained in:
parent
8853067830
commit
d0393b6223
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ const getEmailData = async (postModel, members = []) => {
|
|||
|
||||
replacements.push({
|
||||
varName,
|
||||
memberProp,
|
||||
memberProp: memberProp.replace('subscriber_', ''),
|
||||
fallback
|
||||
});
|
||||
return `%recipient.${varName}%`;
|
||||
|
|
Loading…
Reference in a new issue