feat(core): Switch to MJML for email templates (#10518)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-08-28 17:15:18 +02:00
committed by GitHub
parent 9e1dac0465
commit dbc10fe9f5
24 changed files with 754 additions and 86 deletions

View File

@@ -138,7 +138,6 @@ export class UserService {
const result = await this.mailer.invite({
email,
inviteAcceptUrl,
domain,
});
if (result.emailSent) {
invitedUser.user.emailSent = true;
@@ -168,7 +167,6 @@ export class UserService {
this.logger.error('Failed to send email', {
userId: owner.id,
inviteAcceptUrl,
domain,
email,
});
invitedUser.error = e.message;