erore de lemuel
This commit is contained in:
@@ -50,7 +50,7 @@ const entregar = async (body) => {
|
||||
});
|
||||
if (ahora > moment(`${ahora.format('YYYY-MM-DD')} 17:45`))
|
||||
update.horaFin = moment(`${ahora.format('YYYY-MM-DD')} 19:45`);
|
||||
else update.horaInicio = ahora.add(2, 'h').format();
|
||||
else update.horaFin = ahora.add(2, 'h').format();
|
||||
return Equipo.update({ idStatus: 2 }, { where: { idEquipo } });
|
||||
})
|
||||
.then(() => Prestamo.update(update, { where: { idPrestamo } }))
|
||||
|
||||
Reference in New Issue
Block a user