From 62128cd5710548ff55647f12914a10fdf5fa9e38 Mon Sep 17 00:00:00 2001 From: Bastien Seree Date: Mon, 16 Dec 2024 14:52:04 +0100 Subject: [PATCH] EDF: [#114] size field is not required anymore in company schema --- .../server/plugins/entreprisedufutur/schemas/CompanySchema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/web/server/plugins/entreprisedufutur/schemas/CompanySchema.js b/backend/web/server/plugins/entreprisedufutur/schemas/CompanySchema.js index d41bf5303..e32198760 100644 --- a/backend/web/server/plugins/entreprisedufutur/schemas/CompanySchema.js +++ b/backend/web/server/plugins/entreprisedufutur/schemas/CompanySchema.js @@ -20,7 +20,7 @@ const CompanySchema = new Schema( size: { type: String, enum: Object.keys(COMPANY_SIZES), - required: true, + required: false, }, administrators: { type: [{