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

removed useless line

parent 28d20042
Branches tp2-correction
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ router.route("/toucans")
}
});
}
toucan.toucan_id = toucan.title.replace(/\s+/g, '-').toLowerCase()+ toucan.date.getYear().toString();
toucan.save(function(err) {
if (err) {
res.status(400).send(err);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment