Skip to content

Commit

Permalink
fix in mail sent for jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
rhanka committed Oct 13, 2024
1 parent c4f973c commit 759d7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/mail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const sendJobUpdate = async (email:string, content: string, jobId: string
to: `${email}`,
}
message.subject = `Traitement sur un fichier - ${process.env.APP_DNS}`;
message.text = `${content ? 'Traitment fichier: ' + content : ''}\nVous pouvez consulter le status du traitement <a href="${process.env.APP_URL}/link/${jobId}"></a>ici.<br>`
message.text = `${content ? 'Traitement fichier: ' + content : ''}\nVous pouvez consulter le status du traitement <a href="${process.env.APP_URL}/link?job=${jobId}"></a>ici.<br>`
message.html = `<html style="font-family:Helvetica;">
<h4> Traitement d'un fichier </h4>
Vous avez lancé une tache d'appariement,<br>
Expand Down

0 comments on commit 759d7b7

Please sign in to comment.