Mise à jour de models 'Mongo'
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user