Skip to content

Commit

Permalink
[fix]: 마이페이지 수정시 2가지 null 케이스를 하나의 케이스로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Gseungmin committed Aug 18, 2023
1 parent 319fe50 commit c75b7f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ public class UpdateMyInfoRequestDto {
private String name;
private String birth;
private Integer gender;
private String image;
}
2 changes: 1 addition & 1 deletion src/main/java/com/umc/refit/web/service/MyInfoService.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public Boolean checkInsertedName(String name) {
public void updateMyInfo(MultipartFile multipartFile, UpdateMyInfoRequestDto request, Authentication authentication) {

if (null == multipartFile) {
getMember(authentication).updateMemberByMyInfo(request, null);
getMember(authentication).updateMemberByMyInfo(request, request.getImage());
return;
}

Expand Down

0 comments on commit c75b7f1

Please sign in to comment.