Skip to content

Commit

Permalink
테스트를 위한 애플 sub값 얻기위한 로그추가
Browse files Browse the repository at this point in the history
  • Loading branch information
youngreal committed Nov 1, 2024
1 parent cae0391 commit 6878360
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@
import com.dnd.dndtravel.member.service.response.MyPageResponse;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Slf4j
@RequiredArgsConstructor
@Service
public class MemberService {
Expand Down Expand Up @@ -58,6 +61,7 @@ public MyPageResponse myPageInfo(long memberId) {
}

private String getWithdrawMemberEmail(String sub) {
log.info("sub = {}" + sub);
return withDrawMemberRepository.findByAppleId(sub)
.orElseThrow(() -> new MemberNotFoundException(sub))
.getEmail();
Expand Down

0 comments on commit 6878360

Please sign in to comment.