Fix email
This commit is contained in:
parent
7d78114c29
commit
e2d4f3b56b
1 changed files with 2 additions and 4 deletions
|
|
@ -420,16 +420,14 @@ tabloRouter.post("/invite", async (c) => {
|
|||
from: `${sender.email} via XTablo <noreply@xtablo.com>`,
|
||||
to: recipientmail,
|
||||
subject: "Vous avez été invité à un tablo",
|
||||
html: `<p>${sender.email} vous a invité à rejoindre le tablo "${
|
||||
tablo.name
|
||||
}".</p>
|
||||
html: `
|
||||
${introEmail ? `<p>${introEmail}</p>` : ""}
|
||||
<p>Cliquez sur <a href="${
|
||||
config.XTABLO_URL
|
||||
}/join/${encodeURIComponent(tablo.name)}?token=${encodeURIComponent(
|
||||
token
|
||||
)}">ce lien</a> pour accepter l'invitation.</p>
|
||||
<br>
|
||||
${introEmail ? `<p>${introEmail}</p>` : ""}
|
||||
<p>Cordialement.</p>
|
||||
`,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue