Skip to content

Commit

Permalink
refactor: #11 프로필 수정 PATCH로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ehs208 committed Oct 19, 2024
1 parent 12cd7b4 commit 5061754
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public ResponseEntity<GlobalResponseDto<UserProfileResponseDto>> getProfile(Http
.body(GlobalResponseDto.success(userService.getProfile(request)));
}

@PutMapping("/info")
@PatchMapping("/info")
@Operation(summary = "프로필 수정", description = "사용자의 프로필을 수정합니다.")
public ResponseEntity<GlobalResponseDto<String>> updateProfile(@RequestBody UserProfileRequestDto userProfileRequestDto, HttpServletRequest request) {
userService.updateProfile(request,userProfileRequestDto);
Expand Down

0 comments on commit 5061754

Please sign in to comment.