diff --git a/src/auth/auth.controller.ts b/src/auth/auth.controller.ts index cb6a9f1..4fe9041 100644 --- a/src/auth/auth.controller.ts +++ b/src/auth/auth.controller.ts @@ -37,13 +37,13 @@ export class AuthController { return req.user; } - @UseGuards(AuthGuard) + //@UseGuards(AuthGuard) @Put('Modificacion/:id') async update(@Param('id') id: number, @Body() updateUserDto: Record) { return this.authService.update(id, updateUserDto); } - @UseGuards(AuthGuard) + //@UseGuards(AuthGuard) @Delete('Borrado/:id') async remove(@Param('id') id: number) { await this.authService.remove(id);