diff --git a/backend/emm-sale/src/main/java/com/emmsale/member/api/MemberApi.java b/backend/emm-sale/src/main/java/com/emmsale/member/api/MemberApi.java index 87e3243ad..abd757bbc 100644 --- a/backend/emm-sale/src/main/java/com/emmsale/member/api/MemberApi.java +++ b/backend/emm-sale/src/main/java/com/emmsale/member/api/MemberApi.java @@ -23,6 +23,7 @@ import org.springframework.web.bind.annotation.PutMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RequestPart; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.multipart.MultipartFile; @@ -101,7 +102,7 @@ public ResponseEntity deleteMember( @PatchMapping("/members/{memberId}/profile") public ResponseEntity updateProfile( @PathVariable final Long memberId, - final MultipartFile image, + @RequestPart final MultipartFile image, final Member member ) { final String imageUrl = memberUpdateService.updateMemberProfile(image, memberId, member);