Skip to content

Commit 3db7cd8

Browse files
committed
fix: add goo destinataire newsletter
1 parent cd551b1 commit 3db7cd8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/src/controllers/mail.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,16 @@ router.post("/subscribe", async (req, res) => {
8585
apiKey: TIPIMAIL_API_KEY,
8686
to: [
8787
{
88-
address: "tangi.mendes@selego.co",
88+
address: "jardinmental@fabrique.social.gouv.fr",
8989
},
9090
],
9191
msg: {
9292
from: {
9393
address: "contact@jardinmental.fr",
9494
personalName: "Jardin Mental - Application",
9595
},
96-
subject: "New Newsletter Subscription",
97-
text: `New subscription to the newsletter from: ${email}`,
96+
subject: "Nouvelle inscription à la newsletter",
97+
text: `Nouvelle inscription à la newsletter de l'application Jardin Mental : ${email}`,
9898
},
9999
}),
100100
}).catch((err) => capture(err, { extra: { route: "POST /mail/subscribe", body: req.body } }));

0 commit comments

Comments
 (0)