Skip to content

Commit 1251638

Browse files
committed
task: configure HTTP client to expect successful response
1 parent 01658ae commit 1251638

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/kotlin/com/ctrlhub/core/api/KtorApiClient.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class KtorApiClient private constructor(val httpClient: HttpClient) {
2828
url(baseUrl)
2929
}
3030
}
31+
expectSuccess = true
3132
install(ContentNegotiation) {
3233
json(Json { ignoreUnknownKeys = true })
3334
}

0 commit comments

Comments
 (0)