Skip to content

Commit

Permalink
EDF: [#6] add adress field to event
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastien-Wappizy committed Dec 4, 2024
1 parent 2eeccf7 commit d8a0689
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ const EventSchema = new Schema({
location_address: {
type: AddressSchema,
required: [true, 'L\'adresse de la location est obligatoire'],
}
},
adress: {
type: AddressSchema,
required: true
},
}, schemaOptions)

/* eslint-disable prefer-arrow-callback */
Expand Down

0 comments on commit d8a0689

Please sign in to comment.