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

try to fix joi problem

parent 38e328f8
No related branches found
No related tags found
1 merge request!4Url/year/title
......@@ -139,7 +139,7 @@ router.route("/img/:id")
});
router.route("/pdf/:url")
.get(celebrate({query: validURL}), function(req,res) {
.get(celebrate(), function(req,res) {
urltoucans.findOne({urlID: req.params.url}, (err,data) => {
if (err) {
res.end(500);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment