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

silly mistake

parent 82fdb13b
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,7 @@ router.get('/img-dernierToucan', (req, res) => {
if (err) {res.send(err);}
else {
const id = toucan[0]._id;
res.sendFile(path.resolve(img.savedExtensions[1].path,id+".pdf"));
res.sendFile(path.resolve(env.savedExtensions[0].path,id));
}
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment