diff --git a/app/build.gradle b/app/build.gradle index 9dffc3807..6bcb9765a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -117,7 +117,7 @@ play { ext { work_manager = "2.4.0" room = "2.2.5" - chucker = "3.2.0" + chucker = "3.3.0" mockk = "1.10.2" moshi = "1.10.0" } diff --git a/app/src/main/java/io/github/wulkanowy/data/RepositoryModule.kt b/app/src/main/java/io/github/wulkanowy/data/RepositoryModule.kt index 3370d0ac3..6486cab97 100644 --- a/app/src/main/java/io/github/wulkanowy/data/RepositoryModule.kt +++ b/app/src/main/java/io/github/wulkanowy/data/RepositoryModule.kt @@ -33,7 +33,11 @@ internal class RepositoryModule { setSimpleHttpLogger { Timber.d(it) } // for debug only - addInterceptor(ChuckerInterceptor(context, chuckerCollector), true) + addInterceptor(ChuckerInterceptor( + context = context, + collector = chuckerCollector, + alwaysReadResponseBody = true + ), true) } }