Add productName to subject in account-delete email

The change includes the productName as a prop in the subject of the account-delete email. This aims to give a more personalised message when sending emails related to account deletion, improving user experience.
This commit is contained in:
gbuomprisco
2024-06-13 19:26:19 +08:00
parent 9bf3f0ea4b
commit 10fc46af9c

View File

@@ -30,7 +30,9 @@ export async function renderAccountDeleteEmail(props: Props) {
productName: props.productName,
});
const subject = t(`${namespace}:subject`);
const subject = t(`${namespace}:subject`, {
productName: props.productName,
});
const html = render(
<Html>