Skip to content

Commit fe6dfc3

Browse files
authored
release: 1.7.7 (#192)
2 parents 7445c8b + a6ee4dd commit fe6dfc3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/kotlin/org/gitanimals/quiz/infra/similarity/TokenizerHttpClientConfigurer.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import org.springframework.beans.factory.annotation.Value
55
import org.springframework.context.annotation.Bean
66
import org.springframework.context.annotation.Configuration
77
import org.springframework.http.HttpHeaders
8-
import org.springframework.http.MediaType
98
import org.springframework.web.client.RestClient
109
import org.springframework.web.client.support.RestClientAdapter
1110
import org.springframework.web.service.invoker.HttpServiceProxyFactory
@@ -20,7 +19,6 @@ class TokenizerHttpClientConfigurer(
2019
val restClient = RestClient.builder()
2120
.requestInterceptor { request, body, execution ->
2221
request.headers.add(HttpHeaders.AUTHORIZATION, "Bearer $apiKey")
23-
request.headers.add(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON_VALUE)
2422
execution.execute(request, body)
2523
}
2624
.baseUrl("https://api.openai.com")

0 commit comments

Comments
 (0)