no mostrar cancelados a responsable

This commit is contained in:
2021-02-04 19:30:41 -06:00
parent 0d9034312f
commit 3be16d98cc
@@ -40,7 +40,7 @@ const serviciosResponsable = async (body) => {
}, },
}, },
{ model: Carrera }, { model: Carrera },
{ model: Status }, { model: Status, where: { idStatus: { [Op.not]: 10 } } },
], ],
order: [['updatedAt', 'DESC']], order: [['updatedAt', 'DESC']],
}); });