mini cambios#

This commit is contained in:
xXpuma99Xx
2022-01-24 15:58:34 -06:00
parent 9af90dc0cf
commit ffadb76178
15 changed files with 119 additions and 111 deletions
@@ -20,7 +20,6 @@ const cancelarOperador = async (body) => {
include: [{ model: Equipo }],
});
})
.then((res) => {
if (!res) throw new Error('Este prestamo no existe.');
if (!res.activo)