diff --git a/src/programa_equipo/programa_equipo.controller.ts b/src/programa_equipo/programa_equipo.controller.ts index e66ea2d..36abdfe 100644 --- a/src/programa_equipo/programa_equipo.controller.ts +++ b/src/programa_equipo/programa_equipo.controller.ts @@ -19,7 +19,6 @@ export class ProgramaEquipoController { @UseGuards(JwtAuthGuard, RolesGuard) @Roles(Role.ADMINISTRADOR, Role.SUPER_ADMINISTRADOR) - @Get('ubicacion/:id') findAllProgramByUbicacion(@Param('id') id: string) { return this.programaEquipoService.findAllProgramByUbication(id); diff --git a/src/user/user.controller.ts b/src/user/user.controller.ts index d7d98cc..42e9aee 100644 --- a/src/user/user.controller.ts +++ b/src/user/user.controller.ts @@ -61,9 +61,7 @@ export class UserController { } @UseGuards(JwtAuthGuard, RolesGuard) - @Roles(Role.ADMINISTRADOR, Role.SUPER_ADMINISTRADOR) - @Post('/create') async createUser(@Body() data: CreateUserDto) { return this.userService.create(data);