diff --git a/backend/src/main/java/com/festago/auth/application/AuthService.java b/backend/src/main/java/com/festago/auth/application/AuthService.java index 63101e914..c8150637f 100644 --- a/backend/src/main/java/com/festago/auth/application/AuthService.java +++ b/backend/src/main/java/com/festago/auth/application/AuthService.java @@ -25,12 +25,8 @@ public AuthService(MemberRepository memberRepository) { } public LoginMemberDto login(UserInfo userInfo) { - LoginMemberDto loginMemberDto = handleLoginRequest(userInfo); - return loginMemberDto; - } - - public LoginMemberDto handleLoginRequest(UserInfo userInfo) { - Optional originMember = memberRepository.findBySocialIdAndSocialType(userInfo.socialId(), userInfo.socialType()); + Optional originMember = + memberRepository.findBySocialIdAndSocialType(userInfo.socialId(), userInfo.socialType()); if (originMember.isPresent()) { Member member = originMember.get(); return LoginMemberDto.isExists(member);