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

try to speak mangoose

parent 9d307c08
Branches
No related tags found
1 merge request!4Url/year/title
......@@ -154,10 +154,10 @@ router.route("/img/:id")
}
);}); */
router.get('/pdf/:urlID', (req, res) => {
router.get('/pdf/:url', (req, res) => {
try {
urltoucans.
match({urlID: req.params.urlID}).
match({urlID: req.params.url}).
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