Skip to content

Commit

Permalink
fix: enable expectSuccess for http client
Browse files Browse the repository at this point in the history
  • Loading branch information
tronghn committed Nov 15, 2023
1 parent 6253d1a commit 191b298
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import io.ktor.serialization.jackson.jackson
import kotlinx.coroutines.runBlocking

fun defaultHttpClient() = HttpClient(Apache) {
expectSuccess = true
install(ContentNegotiation) {
jackson {
deserializationConfig.apply {
Expand Down

0 comments on commit 191b298

Please sign in to comment.