From 0219552466090a63faf1d7d50f2f48239807b010 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?In=C3=A8s=20Yeterian?= <ines.yeterian@student-cs.fr>
Date: Sun, 20 Feb 2022 23:42:32 +0100
Subject: [PATCH] fix forgotten module export

---
 backend/models/modelToucanD.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/models/modelToucanD.js b/backend/models/modelToucanD.js
index 7b81f69..b156c09 100644
--- a/backend/models/modelToucanD.js
+++ b/backend/models/modelToucanD.js
@@ -12,4 +12,4 @@ var toucanDSchema = new Schema ({
 // Le numéro doit être unique
 toucanDSchema.index({issue:-1},{unique: true});
 
-const toucanDModele = mongoose.model("ToucanD",toucanDSchema);
\ No newline at end of file
+module.exports = mongoose.model('ToucanD', toucanDSchema);
\ No newline at end of file
-- 
GitLab