Skip to content

Commit e5d71f3

Browse files
committed
feat: 회원 탈퇴 시 이름, 생년월일, 프로필 이미지 제거
1 parent e765943 commit e5d71f3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • src/main/java/com/herethere/withus/user/domain

src/main/java/com/herethere/withus/user/domain/User.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ public void withdraw() {
7373
if (userStatus == UserStatus.DELETED) {
7474
throw new ConflictException(ErrorCode.USER_ALREADY_DELETED);
7575
}
76+
nickname = "알 수 없음";
77+
birthday = null;
78+
profileImageKey = null;
7679
userStatus = UserStatus.DELETED;
7780
}
7881
}

0 commit comments

Comments
 (0)