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

try to view whole urltoucans data

parent 11663bd8
Branches
No related tags found
1 merge request!4Url/year/title
......@@ -175,13 +175,12 @@ router.get('/pdf/:urlId', (req, res) => {
router.get('/pdf/url', (req, res) => {
try {
urltoucans.
match({urlId: 'boule-2022'}).
exec((err,data) => {
if (err) {
console.log(err);
} else {
console.log(data);
res.json(data);
}});
} catch (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