Skip to content

Commit

Permalink
fix: mail subject if title is existing
Browse files Browse the repository at this point in the history
  • Loading branch information
ledouxm committed Jul 25, 2024
1 parent 0300818 commit 67d19ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/features/mail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const sendReportMail = ({
return transporter.sendMail({
from: ENV.EMAIL_EMITTER,
to: recipients,
subject: "Compte-rendu UDAP : " + (report?.title ? ` : ${report.title}` : ""),
subject: "Compte-rendu UDAP" + (report?.title ? ` : ${report.title}` : ""),
text: `Bonjour,
vous trouverez ci-joint le compte-rendu de notre rendez-vous.
Expand Down

0 comments on commit 67d19ff

Please sign in to comment.