|
|
@ -77,7 +77,7 @@ class NetworkModule { |
|
|
|
.apply { |
|
|
|
.apply { |
|
|
|
addInterceptor(InstanceSwitchAuthInterceptor(accountManager)) |
|
|
|
addInterceptor(InstanceSwitchAuthInterceptor(accountManager)) |
|
|
|
if (BuildConfig.DEBUG) { |
|
|
|
if (BuildConfig.DEBUG) { |
|
|
|
addInterceptor(HttpLoggingInterceptor().apply { level = HttpLoggingInterceptor.Level.BODY }) |
|
|
|
addInterceptor(HttpLoggingInterceptor().apply { level = HttpLoggingInterceptor.Level.BASIC }) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.build() |
|
|
|
.build() |
|
|
|