Skip to content

Commit

Permalink
fix : user update required
Browse files Browse the repository at this point in the history
  • Loading branch information
NameIsUser06 committed Jan 8, 2024
1 parent 29faddb commit 8236fe4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public ResponseEntity<UserResponse> getUserInfo(HttpServletRequest httpServletRe
}

@PutMapping(value = "/update", consumes = MediaType.MULTIPART_FORM_DATA_VALUE) // 유저 정보 업데이트
public ResponseEntity<String> updateUserInfo(@RequestPart("data") UpdateUserInfoRequest request, @RequestPart("file") MultipartFile file, HttpServletRequest httpServletRequest) {
public ResponseEntity<String> updateUserInfo(@RequestPart("data") UpdateUserInfoRequest request, @RequestPart(value = "file", required = false) MultipartFile file, HttpServletRequest httpServletRequest) {
return updateUserInfoService.execute(request, file, httpServletRequest);
}

Expand Down

0 comments on commit 8236fe4

Please sign in to comment.