Skip to content

Commit

Permalink
[fix] user controller 수정 (#227)
Browse files Browse the repository at this point in the history
fix: user controller 수정
  • Loading branch information
jmhee28 authored Dec 14, 2023
1 parent 4f6a09c commit e9ccb8c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions server/api-server/src/users/users.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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);
// }
}

0 comments on commit e9ccb8c

Please sign in to comment.