fixed name

This commit is contained in:
IO
2024-07-05 08:08:31 -06:00
parent 3be07318ea
commit 82394b05a2
6 changed files with 34 additions and 28 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export class ProfesorController {
constructor(private profesorService: ProfesorService) {}
@Post()
// @Roles(Role.Responsable,Role.Admin)
@Roles(Role.Responsable,Role.Admin)
async register(@Body() data: profesorDto) {
return this.profesorService.register(data);
}