Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
youngreal committed Nov 20, 2024
1 parent 4e31823 commit 5eb3105
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private String determineEmail(String email, String sub) {

private void validateNewMemberEmail(String email, String sub) {
// 최로 로그인 유저인데 IdToken의 email도 null인경우 (케이스 3)
if (email == null && withDrawMemberRepository.existsByAppleId(sub)) {
if (email == null && !withDrawMemberRepository.existsByAppleId(sub)) {
throw new MemberNotFoundException(sub);
}
}
Expand Down

0 comments on commit 5eb3105

Please sign in to comment.