Skip to content

Commit

Permalink
✨ :: [#1279] 커스텀 플러그인 분기처리
Browse files Browse the repository at this point in the history
  • Loading branch information
KangTaeHoon committed Sep 1, 2024
1 parent e7638e4 commit eb8be2f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,12 @@ private extension BaseRemoteDataSource {
}

func reissueToken() -> Completable {
#if DEBUG || QA
let provider = refreshProvider ?? MoyaProvider(plugins: [JwtPlugin(keychain: keychain), CustomLoggingPlugin()])
#else
let provider = refreshProvider ?? MoyaProvider(plugins: [JwtPlugin(keychain: keychain)])
#endif

if refreshProvider == nil {
refreshProvider = provider
}
Expand Down

0 comments on commit eb8be2f

Please sign in to comment.