Skip to content

Commit

Permalink
Add Order Code To Error (#2146)
Browse files Browse the repository at this point in the history
  • Loading branch information
17Amir17 authored Nov 10, 2024
1 parent d7eed42 commit 19b9100
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/passport-server/resources/one-click-page/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@

contactSupportBtn.onclick = function (e) {
window.open(
`mailto:{{zupassSupport}}?subject=Ticket Support ({{email}})&body=Hi, I'd like to request support on finding my ticket in Zupass. My email(s) are listed in the subject of this email.`
`mailto:{{zupassSupport}}?subject=Ticket Support #{{orderCode}} ({{email}})&body=Hi, I'd like to request support on finding my ticket in Zupass. My email(s) are listed in the subject of this email.`
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,8 @@ export function initGenericIssuanceRoutes(
const file = await readFileWithCache(errorFilePath);
const rendered = Mustache.render(file, {
zupassSupport: ZUPASS_SUPPORT_EMAIL,
email: email
email: email,
orderCode: code
});
res.send(rendered);
}
Expand Down

0 comments on commit 19b9100

Please sign in to comment.