mirror of
https://github.com/bitwarden/android.git
synced 2024-11-24 10:25:57 +03:00
Remove extra provideOkHttpClient call (#107)
This commit is contained in:
parent
635cc120c9
commit
c305de669e
1 changed files with 0 additions and 10 deletions
|
@ -34,16 +34,6 @@ object NetworkModule {
|
||||||
fun providesConfigService(@Named(UNAUTHORIZED) retrofit: Retrofit): ConfigService =
|
fun providesConfigService(@Named(UNAUTHORIZED) retrofit: Retrofit): ConfigService =
|
||||||
ConfigServiceImpl(retrofit.create())
|
ConfigServiceImpl(retrofit.create())
|
||||||
|
|
||||||
fun provideOkHttpClient(): OkHttpClient {
|
|
||||||
return OkHttpClient.Builder()
|
|
||||||
.addInterceptor(
|
|
||||||
HttpLoggingInterceptor().apply {
|
|
||||||
setLevel(HttpLoggingInterceptor.Level.BODY)
|
|
||||||
},
|
|
||||||
)
|
|
||||||
.build()
|
|
||||||
}
|
|
||||||
|
|
||||||
@Provides
|
@Provides
|
||||||
@Singleton
|
@Singleton
|
||||||
fun providesAuthTokenInterceptor(): AuthTokenInterceptor = AuthTokenInterceptor()
|
fun providesAuthTokenInterceptor(): AuthTokenInterceptor = AuthTokenInterceptor()
|
||||||
|
|
Loading…
Reference in a new issue