Skip to content

Commit

Permalink
feat: 재탈퇴 이슈 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
CChuYong committed Jul 26, 2023
1 parent 4606c1f commit 2f18a47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class UserService(
val user = userRepository
.findById(userId)
.orElseThrow { UserNotFoundException() }
user.email = "-${user.email}"
user.email = "${user.userId}-${user.email}"
userSocialRepository.deleteAllByUserId(user.userId)

jpaFriendRepository.deleteAllByFromUserId(user.userId)
Expand Down

0 comments on commit 2f18a47

Please sign in to comment.