Skip to content

Commit

Permalink
Merge pull request #189 from SMU-SATTO/feature/#188
Browse files Browse the repository at this point in the history
[Chore] PatchMapping에 consumes 속성 추가
  • Loading branch information
HyunwooYi authored Sep 2, 2024
2 parents 45cdc7e + 8b9d555 commit 2788b65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public BaseResponse<?> nicknameDuplicate(@PathVariable("nickname") String nickna
}

@Operation(summary = "프로필 사진 수정")
@PatchMapping("/profile/image")
@PatchMapping(value = "/profile/image", consumes = "multipart/form-data")
public BaseResponse<String> saveProfile(@RequestParam("file") MultipartFile multipartFile, @AuthenticationPrincipal Users users) {
String email = users.getEmail();
usersService.saveProfile(multipartFile, email);
Expand Down

0 comments on commit 2788b65

Please sign in to comment.