Skip to content

Commit c234a19

Browse files
authored
release: 1.7.5 (#190)
2 parents dbcc567 + 63fc3d3 commit c234a19

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/kotlin/org/gitanimals/quiz/infra/QuizHttpClientConfigurer.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import org.springframework.context.annotation.Bean
1111
import org.springframework.context.annotation.Configuration
1212
import org.springframework.context.annotation.Profile
1313
import org.springframework.http.HttpHeaders
14-
import org.springframework.http.MediaType
1514
import org.springframework.web.client.RestClient
1615
import org.springframework.web.client.support.RestClientAdapter
1716
import org.springframework.web.service.invoker.HttpServiceProxyFactory
@@ -77,7 +76,6 @@ class QuizHttpClientConfigurer(
7776
val restClient = RestClient
7877
.builder()
7978
.requestInterceptor { request, body, execution ->
80-
request.headers.add(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON_VALUE)
8179
request.headers.add(HttpHeaders.AUTHORIZATION, "Bearer $openAIKey")
8280
request.headers.add("OpenAI-Organization", openAIOrganizationId)
8381
request.headers.add("OpenAI-Project", openAIProject)

0 commit comments

Comments
 (0)