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
Branches
No related tags found
1 merge request!4Url/year/title
......@@ -158,7 +158,7 @@ router.route("/img/:id")
try {
console.log(req.params.url);
urltoucans.
match({urlID: 'boule-2022'}).
match({_id: mongoose.Types.ObjectId('5fc9e888f47f0041d8b83719')}).
exec((err,data) => {
if (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