From 33fa2bebdbb73ebfe1f5a7c9dcf2049c76f5e4d9 Mon Sep 17 00:00:00 2001 From: lemuel Date: Tue, 1 Feb 2022 10:20:22 -0600 Subject: [PATCH] listo --- server/controller/Prestamo/activos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controller/Prestamo/activos.js b/server/controller/Prestamo/activos.js index 91fc6ce..4fd592e 100644 --- a/server/controller/Prestamo/activos.js +++ b/server/controller/Prestamo/activos.js @@ -45,8 +45,8 @@ const activos = async (body) => { { [Op.and]: [{ regresoInmediato: true }, { idOperadorRegreso: null }], }, + { idPrestamo: { [Op.like]: `%${idPrestamo}%` } }, ], - idPrestamo: { [Op.like]: `%${idPrestamo}%` }, }, include: [ {