Skip to content

Commit

Permalink
RAC-419 fix : 불필요한 로그 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 committed Aug 17, 2024
1 parent 3486aa7 commit e4be6f5
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@
import com.postgraduate.domain.user.user.exception.UserNotFoundException;
import jakarta.validation.constraints.NotNull;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@RequiredArgsConstructor
@Transactional
@Slf4j
public class KakaoSignInUseCase implements SignInUseCase {
private final KakaoAccessTokenUseCase kakaoTokenUseCase;
private final UserGetService userGetService;
Expand All @@ -41,7 +39,6 @@ public AuthUserResponse getDevUser(CodeRequest codeRequest) {
@Override
public AuthUserResponse getUserWithToken(TokenRequest request) {
KakaoUserInfoResponse userInfo = kakaoTokenUseCase.getUserInfo(request.accessToken());
log.info("user : {}", userInfo.id());
return getAuthUserResponse(userInfo);
}

Expand All @@ -50,7 +47,6 @@ private AuthUserResponse getAuthUserResponse(KakaoUserInfoResponse userInfo) {
Long socialId = userInfo.id();
try {
User user = userGetService.bySocialId(socialId);
log.info("check user {} ", user.getUserId());
checkDelete(user);
return AuthMapper.mapToAuthUser(user, socialId);
} catch (UserNotFoundException e) {
Expand Down

0 comments on commit e4be6f5

Please sign in to comment.