From c7f3b2713fc917aedf9985bb7be62b77be658ec1 Mon Sep 17 00:00:00 2001 From: TioSam77 Date: Wed, 19 Jun 2024 12:51:48 -0600 Subject: [PATCH] FRED3 --- src/auth/auth.controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);