Skip to content

Commit 089b962

Browse files
committed
hotfix: apis - @transactional(readOnly = true) 제거하여 Redis 저장 문제 해결
- readOnly = true 옵션으로 인해 Redis에 리프레시 토큰이 저장되지 않던 문제를 수정했습니다. - 해당 옵션을 제거하여 정상적으로 토큰이 저장되도록 처리했습니다.
1 parent 97d27af commit 089b962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apis/src/main/kotlin/org/yapp/apis/auth/usecase/AuthUseCase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import org.yapp.globalutils.annotation.UseCase
1616
import java.util.*
1717

1818
@UseCase
19-
@Transactional(readOnly = true)
2019
class AuthUseCase(
2120
private val signInStrategyResolver: SignInStrategyResolver,
2221
private val withdrawStrategyResolver: WithdrawStrategyResolver,
@@ -28,6 +27,7 @@ class AuthUseCase(
2827
private val authTokenService: AuthTokenService,
2928
private val appleAuthService: AppleAuthService
3029
) {
30+
// 추후 Redis 저장을 비동기로 처리하고 실패 시 재시도 로직 도입
3131
fun signIn(socialLoginRequest: SocialLoginRequest): TokenPairResponse {
3232
val credentials = SocialLoginRequest.toCredentials(socialLoginRequest)
3333
val strategy = signInStrategyResolver.resolve(credentials)

0 commit comments

Comments
 (0)