From e4a6018f971ba054a6bde396dce9766f8481f2a8 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:31:43 +0100 Subject: [PATCH] try to make fix work --- backend/models/modelToucan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/models/modelToucan.js b/backend/models/modelToucan.js index f070e23..08930fd 100644 --- a/backend/models/modelToucan.js +++ b/backend/models/modelToucan.js @@ -28,4 +28,4 @@ toucanDSchema.index({issue:-1},{unique: true}); const toucanDModele = mongoose.model("ToucanD",toucanDSchema); -module.exports = {toucanModele, toucanDModele}; \ No newline at end of file +module.exports = mongoose.model('Toucan', toucanSchema), mongoose.model("ToucanD",toucanDSchema); \ No newline at end of file -- GitLab