From 7603e47f335aee3ade21ec5d49e7927d7b6eaaa8 Mon Sep 17 00:00:00 2001 From: Antonin COQUET <ext.sopra.acoquet@grandlyon.com> Date: Mon, 3 May 2021 14:46:33 +0200 Subject: [PATCH] fix: remove mandatory field on structure + update local email sending conf --- src/configuration/config.ts | 4 ++-- src/structures/dto/structure.dto.ts | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/configuration/config.ts b/src/configuration/config.ts index 99476992c..97ab675e8 100644 --- a/src/configuration/config.ts +++ b/src/configuration/config.ts @@ -4,9 +4,9 @@ export const config = { host: 'localhost', protocol: 'http', port: '4200', - from: 'inclusionnumerique@grandlyon.com', + from: 'noreplyinclusionnumerique@grandlyon.com', from_name: 'Réseau des acteurs de la médiation numérique', - replyTo: 'inclusionnumerique@grandlyon.com', + replyTo: 'noreplyinclusionnumerique@grandlyon.com', templates: { directory: './src/mailer/mail-templates', verify: { diff --git a/src/structures/dto/structure.dto.ts b/src/structures/dto/structure.dto.ts index b4e417214..4ac74624d 100644 --- a/src/structures/dto/structure.dto.ts +++ b/src/structures/dto/structure.dto.ts @@ -46,7 +46,6 @@ export class structureDto { @ArrayNotEmpty() publics: string[]; - @IsNotEmpty() freeWorkShop: boolean; @IsNotEmpty() nbComputers: number; -- GitLab