restrincciones
This commit is contained in:
@@ -42,7 +42,6 @@ const multar = async (body) => {
|
||||
})
|
||||
.then((res) => {
|
||||
if (!res) throw new Error('No existe esta infracción.');
|
||||
// Checar si tiene una multa activa, agragar días a multa
|
||||
gravedad = res.gravedad;
|
||||
return Prestamo.findOne({
|
||||
where: { idPrestamo },
|
||||
|
||||
Reference in New Issue
Block a user