Skip to content

Commit

Permalink
Merge pull request #215 from Juinjang/fix/#199
Browse files Browse the repository at this point in the history
fix(#199) : 카카오 탈퇴 수정
  • Loading branch information
2hy2on authored Sep 2, 2024
2 parents f9e1c00 + b31dbab commit da26f09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public ApiResponse kakaoWithdraw(@AuthenticationPrincipal Member member, @Reques
if (!isUnlink) {
throw new ExceptionHandler(NOT_UNLINK_KAKAO);
}
oauthService.deleteMember(member);
// oauthService.deleteMember(member);

return ApiResponse.onSuccess(SuccessStatus.MEMBER_DELETE);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ public boolean kakaoWithdraw(Member member, Long kakaoTargetId) {

if (response.getStatusCode().is2xxSuccessful()) { // 성공 처리 로직
log.info("카카오 탈퇴 성공");
memberRepository.deleteById(member.getMemberId());
return true;
} else { // 실패 처리 로직
return false;
Expand Down

0 comments on commit da26f09

Please sign in to comment.