historial y activos perfecionado

This commit is contained in:
xXpuma99Xx
2022-02-13 19:10:21 -06:00
parent 8429cd74e3
commit e285fe893d
11 changed files with 34 additions and 36 deletions
+3 -3
View File
@@ -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 } })