fixed error get student whit error

This commit is contained in:
2026-03-02 12:00:11 -06:00
parent 1584e16a46
commit a96187a10f
@@ -56,9 +56,6 @@ export class AlumnoSancionService {
where: { alumno: { id_cuenta } },
});
if (alusancion.length === 0) {
throw new NotFoundException(`El estudiante no cuenta con una sanción activa`);
}
return { student, alusancion };
}