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

try to find last toucan in a fast way

parent 41b86d3d
No related branches found
No related tags found
1 merge request!6Last toucan
......@@ -165,7 +165,7 @@ router.get('/pdf/lastToucan', (res) => {
idMax = toucans[i]._id;
}
}
console.log(idMax);
res.sendFile(path.resolve(env.savedExtensions[1].path,idMax+".pdf"));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment