File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
clients/graphql-kotlin-ktor-client/src/main/kotlin/com/expediagroup/graphql/client Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ import io.ktor.client.engine.cio.CIOEngineConfig
3030import io.ktor.client.features.json.JacksonSerializer
3131import io.ktor.client.features.json.JsonFeature
3232import io.ktor.client.request.HttpRequestBuilder
33- import io.ktor.client.request.accept
3433import io.ktor.client.request.post
3534import io.ktor.http.ContentType
3635import io.ktor.http.contentType
@@ -82,7 +81,6 @@ open class GraphQLKtorClient<in T : HttpClientEngineConfig>(
8281
8382 val rawResult = client.post<String >(url) {
8483 apply (requestBuilder)
85- accept(ContentType .Application .Json )
8684 contentType(ContentType .Application .Json )
8785 body = graphQLRequest
8886 }
You can’t perform that action at this time.
0 commit comments