hoy endpoint

This commit is contained in:
xXpuma99Xx
2022-06-24 18:10:26 -05:00
parent 6a1c6786b5
commit dc89e76dae
12 changed files with 126 additions and 42 deletions
+7 -1
View File
@@ -92,8 +92,14 @@ export class EquipoController {
@Put()
// @UseGuards(AuthGuard('jwt'))
update(@Body() body: UpdateEquipoDto) {
const data = { ...body };
delete data.id_carrito;
delete data.id_status;
delete data.id_operador;
delete data.motivo;
return this.equipoService.update(
body,
data,
body.id_carrito,
body.id_status,
body.id_operador,