Skip to content

Commit

Permalink
feat(lbac-2263): modification objet du mail de candidature (#1668)
Browse files Browse the repository at this point in the history
  • Loading branch information
remy-auricoste authored Nov 28, 2024
1 parent 10ebca8 commit cc2c082
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/src/services/application.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,9 @@ export const processApplicationEmails = {

const emailCompany = await mailer.sendEmail({
to: application.company_email,
subject: type === LBA_ITEM_TYPE.RECRUTEURS_LBA ? `Candidature spontanée en alternance ${application.company_name}` : `Candidature en alternance - ${application.job_title}`,
subject:
(type === LBA_ITEM_TYPE.RECRUTEURS_LBA ? `Candidature spontanée en alternance ${application.company_name}` : `Candidature en alternance - ${application.job_title}`) +
` - ${application.applicant_first_name} ${application.applicant_last_name}`,
template: getEmailTemplate(type === LBA_ITEM_TYPE.RECRUTEURS_LBA ? "mail-candidature-spontanee" : "mail-candidature"),
data: {
...sanitizeApplicationForEmail(application),
Expand Down

0 comments on commit cc2c082

Please sign in to comment.