Solo falta definir el mensaje y los 15 min extras

This commit is contained in:
Andres2908
2021-09-23 19:33:27 -05:00
parent 33f628a810
commit bbbdeedb40
4 changed files with 16 additions and 3 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ const regresar = async (body) => {
if (!res.Equipo.enUso)
throw new Error('Aun no se ha entregado el equipo al usuario.');
if (res.horaFin > ahora) {
if (res.horaFin < ahora) {
await multar({
idOperadorMulta: idOperadorRegreso,
idPrestamo: res.idPrestamo,