Skip to content

Commit

Permalink
fix: 회원탈퇴 트래잭션 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Darren4641 committed Oct 28, 2023
1 parent 9a332da commit 479f1bf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ public void updateMemberInfo(AuthorizerDto authorizerDto, ReqUpdateMemberDto req
}

@Override
@Transactional
public void withdrawalMember(AuthorizerDto authorizerDto) {
Member member = memberRepository.findByEmail(authorizerDto.getEmail()).orElseThrow(() -> new CustomException(StatusCode.NOT_FOUND));
member.updateAccountStatus();
Expand Down

0 comments on commit 479f1bf

Please sign in to comment.