Corrige comentario rascunho
This commit is contained in:
parent
8fe0a6762b
commit
6c0e7e9935
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue