From ad0912014ce7e1da5c94565f4dd05ca14884adb6 Mon Sep 17 00:00:00 2001 From: Antonin Coquet <ext.sopra.acoquet@grandlyon.com> Date: Thu, 6 May 2021 11:29:42 +0200 Subject: [PATCH] fix: change freeWorkshop back to notempty --- src/structures/dto/structure.dto.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/structures/dto/structure.dto.ts b/src/structures/dto/structure.dto.ts index 4ac74624d..b4e417214 100644 --- a/src/structures/dto/structure.dto.ts +++ b/src/structures/dto/structure.dto.ts @@ -46,6 +46,7 @@ export class structureDto { @ArrayNotEmpty() publics: string[]; + @IsNotEmpty() freeWorkShop: boolean; @IsNotEmpty() nbComputers: number; -- GitLab