Skip to content

Commit

Permalink
[ST-778] /user/tutoring/list 수정 (#95)
Browse files Browse the repository at this point in the history
* 🔨 /user/tutoring/list 수정

* 🔨 /user/tutoring/list 수정
  • Loading branch information
w8385 authored Oct 17, 2023
1 parent eac44a0 commit 57d2b0c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/user/user.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@ export class UserController {
}

@ApiTags('User')
@ApiParam(UserParam.userId)
@ApiBearerAuth('Authorization')
@ApiOperation(UserOperation.tutoringList)
@Get('user/tutoring/list/:userId')
tutoringList(@Param('userId') userId: string) {
return this.userService.tutoringList(userId);
@Get('user/tutoring/list')
tutoringList(@Headers() headers: Headers) {
return this.userService.tutoringList(AccessToken.userId(headers));
}

@ApiTags('Teacher')
Expand Down

0 comments on commit 57d2b0c

Please sign in to comment.