From e9ccb8c41423819848e75a4dbcc20e06af71c777 Mon Sep 17 00:00:00 2001 From: Joung MyeongHee Date: Thu, 14 Dec 2023 17:58:58 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20user=20controller=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=20(#227)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix: user controller 수정 --- .../api-server/src/users/users.controller.ts | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/server/api-server/src/users/users.controller.ts b/server/api-server/src/users/users.controller.ts index 63c2d00..2893c7f 100644 --- a/server/api-server/src/users/users.controller.ts +++ b/server/api-server/src/users/users.controller.ts @@ -32,15 +32,15 @@ export class UsersController { return { userId: user.userId, nickname: user.nickname }; } - @Get() - findAll() { - return this.usersService.findAll(); - } + // @Get() + // findAll() { + // return this.usersService.findAll(); + // } - @Get(':id') - findOne(@Param('id') id: string) { - return this.usersService.findOne(id); - } + // @Get(':id') + // findOne(@Param('id') id: string) { + // return this.usersService.findOne(id); + // } @UseGuards(LoggedInGuard) @Patch() @@ -49,8 +49,8 @@ export class UsersController { return this.usersService.update(id, updateUserDto); } - @Delete(':id') - remove(@Param('id') id: string) { - return this.usersService.remove(id); - } + // @Delete(':id') + // remove(@Param('id') id: string) { + // return this.usersService.remove(id); + // } }