diff --git a/Projects/Domains/BaseDomain/Sources/DataSource/BaseRemoteDataSource.swift b/Projects/Domains/BaseDomain/Sources/DataSource/BaseRemoteDataSource.swift index ae19b454f..ad03cb542 100644 --- a/Projects/Domains/BaseDomain/Sources/DataSource/BaseRemoteDataSource.swift +++ b/Projects/Domains/BaseDomain/Sources/DataSource/BaseRemoteDataSource.swift @@ -107,7 +107,15 @@ private extension BaseRemoteDataSource { } func reissueToken() -> Completable { - let provider = refreshProvider ?? MoyaProvider(plugins: [JwtPlugin(keychain: keychain), CustomLoggingPlugin()]) + #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 }