Skip to content

Commit

Permalink
[Fix] #221 - AuthInterceptor retry 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
thingineeer committed Jan 19, 2025
1 parent 8c7e221 commit 08e0da6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ final class AuthInterceptor: RequestInterceptor {
guard let response = request.task?.response as? HTTPURLResponse,
response.statusCode == 401,
let pathComponents = request.request?.url?.pathComponents,
!pathComponents.contains("getNewToken")
!pathComponents.contains("token-reissue")
else {
dump(error)
completion(.doNotRetryWithError(error))
Expand Down

0 comments on commit 08e0da6

Please sign in to comment.