Skip to content

Commit

Permalink
EDF: [premieroctet#90] add media field to attachment schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastien-Wappizy committed Dec 10, 2024
1 parent 5670d86 commit 44e1a44
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 44e1a44

Please sign in to comment.