Skip to content

Commit

Permalink
EDF: [premieroctet#115] field statut is required in company schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastien-Wappizy committed Dec 16, 2024
1 parent c52c40a commit a80f084
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const CompanySchema = new Schema(
statut: {
type: String,
enum: Object.keys(STATUTS),
required: false,
required: true,
default: STATUT_MEMBER
},
sponsor: {
Expand Down

0 comments on commit a80f084

Please sign in to comment.