Bad copy paste in comment

This commit is contained in:
Benoit Marty 2022-06-15 10:37:17 +02:00 committed by Benoit Marty
parent 514c4234f2
commit 0abeb3306e

View file

@ -257,7 +257,7 @@ internal abstract class SessionModule {
return okHttpClient return okHttpClient
.newBuilder() .newBuilder()
.apply { .apply {
// Remove the previous CurlLoggingInterceptor, to add it after the accessTokenInterceptor // Remove the previous CurlLoggingInterceptor, to add it after the downloadProgressInterceptor
val existingCurlInterceptors = interceptors().filterIsInstance<CurlLoggingInterceptor>() val existingCurlInterceptors = interceptors().filterIsInstance<CurlLoggingInterceptor>()
interceptors().removeAll(existingCurlInterceptors) interceptors().removeAll(existingCurlInterceptors)