Gestione Ordini: evaso...

This commit is contained in:
Surya Paolo
2023-12-13 19:17:53 +01:00
parent a2bd4f6e97
commit fcdd826c54
11 changed files with 314 additions and 125 deletions

View File

@@ -251,7 +251,7 @@ router.delete('/:id', authenticate, (req, res) => {
} else {
Project.findByIdAndRemove(id).then((project) => {
Project.deleteOne({_id: id}).then((project) => {
if (!project) {
return res.status(404).send();
}