Skip to content

Commit

Permalink
fix: 컨트롤러 메서드 네임 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
D0ri123 committed Aug 20, 2023
1 parent eab8b51 commit 00a10c5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class EditFriendInfoController {
@ApiOperation(value = "친구 정보 수정")
@PatchMapping("/friend/{id}")
@PreAuthorize("isAuthenticated()")
public ResponseEntity<MessageResponse> getBbokCharacter(
public ResponseEntity<MessageResponse> editFriendName(
@Parameter(name = "id", in = ParameterIn.PATH, description = "친구 id") @PathVariable("id") Long friendId,
@RequestBody UpdateFriendRequest updateFriendRequest,
@AuthenticationPrincipal SessionUser sessionUser
Expand All @@ -45,7 +45,7 @@ public ResponseEntity<MessageResponse> getBbokCharacter(
@ApiOperation(value = "친구 관계 정리")
@PatchMapping("/friend/{id}/deactivate")
@PreAuthorize("isAuthenticated()")
public ResponseEntity<MessageResponse> getBbokCharacter(
public ResponseEntity<MessageResponse> deactivateFriend(
@Parameter(name = "id", in = ParameterIn.PATH, description = "친구 id") @PathVariable("id") Long friendId,
@AuthenticationPrincipal SessionUser sessionUser
) {
Expand Down

0 comments on commit 00a10c5

Please sign in to comment.