From ef2422bab008c377648ae48dcde31627197d2c66 Mon Sep 17 00:00:00 2001 From: Bastien Seree Date: Mon, 16 Dec 2024 14:52:32 +0100 Subject: [PATCH] EDF: [#114] city 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 1f5cc4fe5..5db97abfd 100644 --- a/backend/web/server/plugins/entreprisedufutur/schemas/CompanySchema.js +++ b/backend/web/server/plugins/entreprisedufutur/schemas/CompanySchema.js @@ -86,7 +86,7 @@ const CompanySchema = new Schema( }, city: { type: AddressSchema, - required: true + required: false }, perimeter: { type: Number,