Remove mail spammy log

This commit is contained in:
Alice Gaudon 2021-04-22 18:01:52 +02:00
parent 847fa030b8
commit df59795489

View File

@ -110,7 +110,7 @@ export default class Mail {
this.data.app = config.get('app'); this.data.app = config.get('app');
// Log // Log
logger.debug('Send mail', this.options, this.data); logger.debug(`Send mail from ${this.options.from.address} to ${this.options.to}`);
// Render email // Render email
this.options.html = Mail.parse(this.environment, 'mails/' + this.template.template + '.mjml.njk', this.options.html = Mail.parse(this.environment, 'mails/' + this.template.template + '.mjml.njk',