Skip to content

Commit

Permalink
[hotfix] feat: 프로필 사진 삭제 가능하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
elive7 committed Jan 13, 2025
1 parent cbf5dad commit f36dd32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/recordy/server/user/domain/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ public void update(UserUpdate update) {
validateProfileImageUrl(update.profileImageUrl());
profileImageUrl = update.profileImageUrl();
}
else {
profileImageUrl = null;
}
}

private void validateNicknameFormat(String nickname) {
Expand Down

0 comments on commit f36dd32

Please sign in to comment.