This commit is contained in:
2024-06-26 16:17:28 -06:00
parent a210ac3d66
commit fb04abfb06
3 changed files with 3 additions and 6 deletions
+1 -4
View File
@@ -25,10 +25,7 @@ import { RolesGuard } from '../permissions/roles.guard';
ProyectosAcademicosModule,
JwtModule,
],
providers: [ProfesorService,
ProyectosAcademicosService,
DatosAcademicosService,
LineasInvestigacionService,],
providers: [ProfesorService],
controllers: [ProfesorController],
})
export class ProfesorModule {}
+1 -1
View File
@@ -154,7 +154,7 @@ export class ProfesorService {
await this.datosAcademicosService.removeByProfesorId(id_profesor);
await this.lineasInvestigacionService.removeByProfesorId(id_profesor);
await this.proyectosAcademicosService.removeByProfesorId(id_profesor);
await this.profesorRepository.remove(profesor);
return { message: 'Profesor removed successfully' };
}
+1 -1
View File
@@ -46,8 +46,8 @@ import { ProyectosAcademicosModule } from './proyectos_academicos/proyectos_acad
User,
Adscripcion,
Categoria,
DatosAcademicos,
Edificio,
DatosAcademicos,
LineasInvestigacion,
ProyectosAcademicos,
TipoUsuario,