File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
core/network/src/main/kotlin/com/ninecraft/booket/core/network Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import okhttp3.Route
1919class TokenAuthenticator (
2020 private val tokenDataSource : TokenDataSource ,
2121 private val serviceProvider : Provider <ReedService >,
22- // private val serviceLazy: Lazy<ReedService>,
2322) : Authenticator {
2423 override fun authenticate (route : Route ? , response : Response ): Request ? {
2524 return runBlocking {
@@ -34,7 +33,6 @@ class TokenAuthenticator(
3433
3534 val refreshTokenRequest = RefreshTokenRequest (refreshToken)
3635 val refreshResponse = serviceProvider().refreshToken(refreshTokenRequest)
37- // val refreshResponse = serviceProvider().refreshToken(refreshTokenRequest)
3836
3937 tokenDataSource.apply {
4038 setAccessToken(refreshResponse.accessToken)
You can’t perform that action at this time.
0 commit comments