Skip to content
Snippets Groups Projects
Commit 02195524 authored by Inès Yeterian's avatar Inès Yeterian
Browse files

fix forgotten module export

parent 0d956ebf
Branches
No related tags found
No related merge requests found
...@@ -12,4 +12,4 @@ var toucanDSchema = new Schema ({ ...@@ -12,4 +12,4 @@ var toucanDSchema = new Schema ({
// Le numéro doit être unique // Le numéro doit être unique
toucanDSchema.index({issue:-1},{unique: true}); toucanDSchema.index({issue:-1},{unique: true});
const toucanDModele = mongoose.model("ToucanD",toucanDSchema); module.exports = mongoose.model('ToucanD', toucanDSchema);
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment