diff --git a/src/structures/dto/structure.dto.ts b/src/structures/dto/structure.dto.ts index 01c7a962917949ce57fcaed7a0f3a424a3a00feb..485cdf3ddd603c9e06cd1554b89de842c3e80d26 100644 --- a/src/structures/dto/structure.dto.ts +++ b/src/structures/dto/structure.dto.ts @@ -46,8 +46,6 @@ export class structureDto { @ArrayNotEmpty() publics: string[]; @IsNotEmpty() - freeWifi: boolean; - @IsNotEmpty() freeWorkShop: boolean; @IsNotEmpty() nbComputers: number; diff --git a/src/structures/schemas/address.schema.ts b/src/structures/schemas/address.schema.ts index f0d34d8f46936c871bb1299f88f9445d80c8dcd9..8fa4e35c5c469dcfd2a36d88b78faf7d1575a93f 100644 --- a/src/structures/schemas/address.schema.ts +++ b/src/structures/schemas/address.schema.ts @@ -4,7 +4,6 @@ import { IsNotEmpty } from 'class-validator'; export type AddressDocument = Address & Document; export class Address { - @IsNotEmpty() numero: string; @IsNotEmpty() diff --git a/src/structures/schemas/structure.schema.ts b/src/structures/schemas/structure.schema.ts index b782161cbffe5c89fae607f26b8ed3756b77fc59..c18f9cdccf6e74dcd5cd21bf557031bc464f75d3 100644 --- a/src/structures/schemas/structure.schema.ts +++ b/src/structures/schemas/structure.schema.ts @@ -93,9 +93,6 @@ export class Structure { @Prop() equipmentsAndServices: string[]; - @Prop() - freeWifi: boolean; - @Prop() freeWorkShop: boolean;