diff --git a/src/alumno/student.controller.ts b/src/alumno/student.controller.ts index 4c298f4..7359309 100644 --- a/src/alumno/student.controller.ts +++ b/src/alumno/student.controller.ts @@ -32,8 +32,7 @@ export class AlumnoController { return this.alumnoService.findOneWhitSancion(+id); } - @UseGuards(JwtAuthGuard, RolesGuard) - @Roles(Role.ADMINISTRADOR, Role.SUPER_ADMINISTRADOR,Role.ATENCION_USUARIOS,Role.SERVICIO_SOCIAL,Role.PCPUMA) + //delete guard to use in cedetec @Get('sancion/:id') findOne(@Param('id') id: number) { return this.alumnoService.findOne(+id);