Skip to content

Commit

Permalink
Merge pull request #56 from Shinsina/split-up-url-parameters
Browse files Browse the repository at this point in the history
Split up `preferenceCenterUrl` URL parameters
  • Loading branch information
Shinsina authored Jan 23, 2024
2 parents 8ead726 + 537b7e9 commit cd89241
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/common/components/blocks/am-lfte-footer.marko
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ $ const alt = defaultValue(input.alt, newsletter.name);

$ const preferenceCenterUrl = buildLinkUrl(
get(newsletterConfig, "preferenceCenter"),
{ email: '{{${email_address} | url_encode }}&id={{${user_id}}}&subtitle=AuntMinnie%20Daily%20Newsletter&subID=6bbda052-75b3-4c48-bbbe-a943a1b7beac&subFlag=0&mode=edit' }
{
email: '{{${email_address} | url_encode }}',
id: '{{${user_id}}}',
subtitle: 'AuntMinnie%20Daily%20Newsletter',
subID: '6bbda052-75b3-4c48-bbbe-a943a1b7beac',
subFlag: '0',
mode: 'edit',
}
);

$ const standardStyle = {
Expand Down

0 comments on commit cd89241

Please sign in to comment.