Skip to content

Commit

Permalink
#166[hotfix] response close() 코드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
stellar-halo committed Mar 13, 2024
1 parent 36f73bd commit 260f1e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/com/sopetit/softie/di/RetrofitModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ object RetrofitModule {
)
when (response.code) {
EXPIRED_TOKEN -> {
response.close()
runBlocking {
refreshTokenRepository.postRefreshToken().onSuccess { accessToken ->
refreshTokenRepository.setAccessToken(accessToken.accessToken)
Expand Down

0 comments on commit 260f1e1

Please sign in to comment.