From a96187a10f404ab34cc9a95041c5949e9c7713f7 Mon Sep 17 00:00:00 2001 From: IO <320154041@pcpuma.acatlan.unam.mx> Date: Mon, 2 Mar 2026 12:00:11 -0600 Subject: [PATCH] fixed error get student whit error --- src/alumno_sancion/alumno_sancion.service.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/alumno_sancion/alumno_sancion.service.ts b/src/alumno_sancion/alumno_sancion.service.ts index b7f2cd1..78e46c8 100644 --- a/src/alumno_sancion/alumno_sancion.service.ts +++ b/src/alumno_sancion/alumno_sancion.service.ts @@ -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 }; }