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

try to speak mangoose

parent 1063e36a
No related branches found
No related tags found
1 merge request!4Url/year/title
...@@ -158,7 +158,7 @@ router.route("/img/:id") ...@@ -158,7 +158,7 @@ router.route("/img/:id")
try { try {
console.log(req.params.url); console.log(req.params.url);
urltoucans. urltoucans.
match({urlID: 'boule-2022'}). match({_id: mongoose.Types.ObjectId('5fc9e888f47f0041d8b83719')}).
exec((err,data) => { exec((err,data) => {
if (err) { if (err) {
console.log(err); console.log(err);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment