From 76ba20cfc08d5cd15ea3304de442e4774ca6007e Mon Sep 17 00:00:00 2001 From: shinework Date: Sun, 28 Apr 2024 19:29:41 +0200 Subject: [PATCH] feat: add email in contact template --- back/api/contact/controllers/contact.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/back/api/contact/controllers/contact.js b/back/api/contact/controllers/contact.js index f0af47b..a27a767 100644 --- a/back/api/contact/controllers/contact.js +++ b/back/api/contact/controllers/contact.js @@ -11,7 +11,7 @@ const template = { html: `

Bonjour,

-

Vous avez reçu un nouveau message de la part de <%= name %>

+

Vous avez reçu un nouveau message de la part de <%= name %> (<%= from %>)

Contenu du message:

<%= message %>

`, @@ -31,6 +31,7 @@ module.exports = { { message: entity.message, name: entity.name, + from: entity.from } );