hoy endpoint
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user