Skip to content

Commit

Permalink
fix: 로직 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
GaHee99 committed Feb 14, 2024
1 parent 0dbdad4 commit 1e8d492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/gam/api/service/user/UserServiceImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -324,11 +324,11 @@ public void deleteUserAccount(Long userId, UserDeleteAccountRequestDTO userDelet
public void deleteUser(Long userId) {
findUser(userId);
authProviderRepository.deleteAllByUserId(userId);
// 유저 스크랩 - false인 것들
userScrapRepository.deleteAllByUserId(userId);
userRepository.deleteById(userId);
// 유저 스크랩 - targetId
userScrapRepository.deleteAllByTargetId(userId);
// 유저 스크랩 - false인 것들
userScrapRepository.deleteAllByUserId(userId);
// 신고 - targetId
reportRepository.deleteAllByTargetUserId(userId);
}
Expand Down

0 comments on commit 1e8d492

Please sign in to comment.