Skip to content
Snippets Groups Projects
Commit eb175779 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

chore(mails): enable mails in local

parent 1fca8231
No related branches found
No related tags found
Loading
......@@ -204,6 +204,7 @@ const monthlyReportNotification = async ({
logStack('info', 'Creation of mail...')
const mailService = new MailService()
const envService = new EnvironmentService()
const today = DateTime.local().setZone('utc', {
keepLocalTime: true,
......@@ -290,7 +291,7 @@ const monthlyReportNotification = async ({
})
const mailData = {
mode: 'campaign',
mode: envService.isProduction() ? 'campaign' : 'noreply',
subject: monthlyReport.subject,
parts: [
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment