diff --git a/backend/web/server/plugins/entreprisedufutur/schemas/AttachmentSchema.js b/backend/web/server/plugins/entreprisedufutur/schemas/AttachmentSchema.js index 458f8f2cec..2faf12557f 100644 --- a/backend/web/server/plugins/entreprisedufutur/schemas/AttachmentSchema.js +++ b/backend/web/server/plugins/entreprisedufutur/schemas/AttachmentSchema.js @@ -8,6 +8,10 @@ const AttachmentSchema = new Schema({ type: String, required: [true, `Le nom de la pièce jointe est obligatoire`] }, + media: { + type: String, + required: false + }, }, {...schemaOptions}) /* eslint-disable prefer-arrow-callback */