Skip to content

Commit ffcafa1

Browse files
committed
refactor(ProcessNaverOAuthUserService): @component -> @service
1 parent 0338697 commit ffcafa1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/somemore/auth/oauth/naver/service/query/ProcessNaverOAuthUserService.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
package com.somemore.auth.oauth.naver.service.query;
22

33
import com.somemore.auth.oauth.OAuthProvider;
4+
import com.somemore.auth.oauth.naver.dto.response.NaverUserProfileResponseDto;
45
import com.somemore.auth.oauth.naver.usecase.query.CheckNaverUserUseCase;
56
import com.somemore.auth.oauth.usecase.ProcessOAuthUserUseCase;
6-
import com.somemore.auth.oauth.naver.dto.response.NaverUserProfileResponseDto;
77
import lombok.RequiredArgsConstructor;
88
import lombok.extern.slf4j.Slf4j;
99
import org.springframework.security.core.Authentication;
1010
import org.springframework.security.oauth2.core.user.OAuth2User;
11-
import org.springframework.stereotype.Component;
11+
import org.springframework.stereotype.Service;
1212
import org.springframework.transaction.annotation.Transactional;
1313

1414
import static com.somemore.auth.oauth.naver.util.OAuthResponseConverter.convertToNaverUserProfileResponseDto;
1515

1616
@Slf4j
17-
@Component
17+
@Service
1818
@RequiredArgsConstructor
1919
@Transactional(readOnly = true)
2020
public class ProcessNaverOAuthUserService implements ProcessOAuthUserUseCase {

0 commit comments

Comments
 (0)