This commit is contained in:
IO
2024-07-03 23:46:11 -06:00
parent 97fd5b27eb
commit 3be07318ea
2 changed files with 11 additions and 39 deletions
+3 -3
View File
@@ -11,9 +11,9 @@ export class ProfesorController {
constructor(private profesorService: ProfesorService) {}
@Post()
@Roles(Role.Responsable,Role.Admin)
async register(@Body() data: profesorDto,file) {
return this.profesorService.register(data,file);
// @Roles(Role.Responsable,Role.Admin)
async register(@Body() data: profesorDto) {
return this.profesorService.register(data);
}
@Get()