Mise à jour de models 'Mongo'

This commit is contained in:
Julien Gautier
2024-01-11 16:52:43 +01:00
parent 6d6c422b46
commit 54524591dd
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -12,6 +12,7 @@ var JumpSchema = new mongoose.Schema({
aeronef: String,
imat: String,
hauteur: Number,
deploiement: Number,
voile: String,
taille: Number,
categorie: String,
@@ -49,6 +50,7 @@ JumpSchema.methods.toJSONFor = function(user){
aeronef: this.aeronef,
imat: this.imat,
hauteur: this.hauteur,
deploiement: this.deploiement,
voile: this.voile,
taille: this.taille,
categorie: this.categorie,