fix(core): Update email template wording to avoid a/an typo (no-changelog) (#18286)

Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
This commit is contained in:
Tom Martens
2025-08-13 10:43:31 +02:00
committed by GitHub
parent f1080dbac0
commit 9ad998d70c
2 changed files with 2 additions and 2 deletions

View File

@@ -188,7 +188,7 @@ describe('UserManagementMailer', () => {
const callBody = nodeMailer.sendMail.mock.calls[index][0].body;
expect(callBody).toContain(
`You have been added as a ${sharee.role.replace('project:', '')} to the ${project.name} project`,
`You have been added to the ${project.name} project as ${sharee.role.replace('project:', '')}`,
);
});
});

View File

@@ -4,7 +4,7 @@
<mj-section>
<mj-column>
<mj-text font-size="24px" color="#ff6f5c"
>You have been added as a {{ role }} to the {{ projectName }} project</mj-text
>You have been added to the {{ projectName }} project as {{ role }}</mj-text
>
</mj-column>
</mj-section>