From 61f2fc2d85f90a986959b2932163bcc2406e3b94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?In=C3=A8s=20Yeterian?= <ines.yeterian@student-cs.fr>
Date: Sun, 16 Jan 2022 20:24:00 +0100
Subject: [PATCH] try to speak mangoose

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

diff --git a/backend/routes/routesToucan.js b/backend/routes/routesToucan.js
index 7520bf1..8491e54 100644
--- a/backend/routes/routesToucan.js
+++ b/backend/routes/routesToucan.js
@@ -163,7 +163,7 @@ router.route("/img/:id")
                   console.log(err);
                   
                 } else {
-                  console.log(data._id);
+                  console.log(data);
               }});
             } catch (err) {
               console.log(err);
-- 
GitLab