historial y activos perfecionado
This commit is contained in:
@@ -13,13 +13,13 @@ const update = async (body) => {
|
||||
);
|
||||
const idStatus = body.idStatus
|
||||
? validar.validarNumeroEntero(body.idStatus, 'id status', true)
|
||||
: null;
|
||||
: '';
|
||||
const idCarrito = body.idCarrito
|
||||
? validar.validarNumeroEntero(body.idCarrito, 'id carrito', true)
|
||||
: null;
|
||||
: '';
|
||||
const idPrograma = body.idPrograma
|
||||
? validar.validarNumeroEntero(body.idPrograma, 'id programa', true)
|
||||
: null;
|
||||
: '';
|
||||
let update = {};
|
||||
|
||||
return Status.findOne({ where: { idStatus } })
|
||||
|
||||
Reference in New Issue
Block a user