Skip to content

Commit

Permalink
[premieroctet#45] Add current_cursus attribute to user
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastien-Wappizy committed Aug 26, 2024
1 parent 671cc23 commit 7c20b26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/web/server/plugins/cyberleague/schemas/UserSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ const UserSchema = new Schema({
city: {
type: AddressSchema,
required: false
},
current_cursus: {
type: String,
required: false
}
}, {...schemaOptions, ...DISCRIMINATOR_KEY})

Expand Down

0 comments on commit 7c20b26

Please sign in to comment.