cambios en gets

This commit is contained in:
Lemuel Marquez
2021-05-14 19:31:12 -05:00
parent 340cc86504
commit 65b4934bfd
4 changed files with 18 additions and 14 deletions
@@ -4,7 +4,6 @@ const dbPath = '../../db/tablas';
const Carrera = require(`${dbPath}/Carrera`);
const CasoEspecial = require(`${dbPath}/CasoEspecial`);
const Status = require(`${dbPath}/Status`);
const TipoUsuario = require(`${dbPath}/TipoUsuario`);
const Usuario = require(`${dbPath}/Usuario`);
const serviciosEspeciales = async (body) => {
@@ -23,7 +22,6 @@ const serviciosEspeciales = async (body) => {
include: [
{
model: Usuario,
include: { model: TipoUsuario },
where: {
usuario: { [Op.like]: `%${numeroCuenta}%` },
nombre: { [Op.like]: `%${nombre}%` },