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
30
30
import io.ktor.client.features.json.JacksonSerializer
31
31
import io.ktor.client.features.json.JsonFeature
32
32
import io.ktor.client.request.HttpRequestBuilder
33
- import io.ktor.client.request.accept
34
33
import io.ktor.client.request.post
35
34
import io.ktor.http.ContentType
36
35
import io.ktor.http.contentType
@@ -82,7 +81,6 @@ open class GraphQLKtorClient<in T : HttpClientEngineConfig>(
82
81
83
82
val rawResult = client.post<String >(url) {
84
83
apply (requestBuilder)
85
- accept(ContentType .Application .Json )
86
84
contentType(ContentType .Application .Json )
87
85
body = graphQLRequest
88
86
}
You can’t perform that action at this time.
0 commit comments