Commit 5cb3f892 authored by Chakib BENHABIB's avatar Chakib BENHABIB Committed by Sébastien DA ROCHA
Browse files

Change replyto field to 'replyTo' as expected by 'mailer' services

parent c640710e
......@@ -520,5 +520,5 @@ export class Email {
to: string[];
subject: string;
html: string; // As html
replyto?: string; //optional
replyTo?: string; //optional
}
......@@ -543,7 +543,7 @@ export class LegacyService {
await Promise.all([
this.sendEmail({
html: adminEmail,
replyto: token.email,
replyTo: token.email,
to: [this.conf.userSupportMailbox],
subject: 'Demande d’accès aux données',
}),
......@@ -644,7 +644,7 @@ export class LegacyService {
await Promise.all([
this.sendEmail({
html: adminEmail,
replyto: token.email,
replyTo: token.email,
to: [this.conf.userSupportMailbox],
subject: 'Demande de renouvellement d’accès aux données',
}),
......@@ -749,7 +749,7 @@ export class LegacyService {
await Promise.all([
this.sendEmail({
html: adminEmail,
replyto: token.email,
replyTo: token.email,
to: [this.conf.userSupportMailbox],
subject: 'Demande de suppression d’accès aux données',
}),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment