Corrige comentario rascunho

This commit is contained in:
Michel Pereira 2021-10-24 02:42:29 -03:00
parent 8fe0a6762b
commit 6c0e7e9935

View file

@ -39,7 +39,7 @@ const soldProducts = req.body;
},
});
}
res.status(OK).json({ _id: result, itensSold: [...soldProducts] }); // Se não houver erro, o SERVICE repassa insertedId da MODEL que é usado aqui.
res.status(OK).json({ _id: result, itensSold: [...soldProducts] }); // If there is no error, the "insertId" is catch and forward it here.
}));
router.put('/:id', rescue(async (req, res) => {