Skip to content

Commit

Permalink
[FIX] 회원 탈퇴 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
sectionr0 committed Aug 19, 2023
1 parent 1bc4d77 commit bd87be0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,14 @@ public AuthMessage revoke() {

// refreshToken, 지원한 사용자, 가입된 모임, 피드, 투두, 공지, 아카이브, 북마크, 일정 삭제
refreshTokenRepository.deleteByAccount(myAccount);
appliedAccountRepository.findAllByAccount(myAccount).softDelete();
accountPlubbingRepository.findAllByAccount(myAccount).forEach(AccountPlubbing::softDelete);
feedRepository.findAllByAccount(myAccount).forEach(Feed::softDelete);
todoTimelineRepository.findAllByAccount(myAccount).forEach(TodoTimeline::softDelete);
noticeRepository.findAllByAccount(myAccount).forEach(Notice::softDelete);
archiveRepository.findAllByAccount(myAccount).forEach(Archive::softDelete);
bookmarkRepository.deleteAllByAccount(myAccount);
calendarRepository.findAllByAccount(myAccount).forEach(Calendar::softDelete);
appliedAccountRepository.findAllByAccount(myAccount).softDelete();
myAccount.deletedAccount();
}

Expand Down

0 comments on commit bd87be0

Please sign in to comment.