diff --git a/STNetwork/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/network/ApiClientProvider.kt b/STNetwork/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/network/ApiClientProvider.kt index 74b9e97d..9f55dbdf 100644 --- a/STNetwork/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/network/ApiClientProvider.kt +++ b/STNetwork/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/network/ApiClientProvider.kt @@ -57,7 +57,6 @@ class ApiClientProvider internal constructor( fun createHttpClient(engine: HttpClientEngineFactory<*>?): HttpClient { val block: HttpClientConfig<*>.() -> Unit = { - expectSuccess = true install(UserAgent) { agent = userAgent }