Skip to content

Commit

Permalink
chore: rebuild project due to codegen change (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Oct 25, 2024
1 parent 88c2736 commit 65e8549
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import org.onebusaway.core.http.RetryingHttpClient

class ClientOptions
private constructor(
private val originalHttpClient: HttpClient,
val httpClient: HttpClient,
val jsonMapper: JsonMapper,
val clock: Clock,
Expand Down Expand Up @@ -46,7 +47,7 @@ private constructor(
private var apiKey: String? = null

internal fun from(clientOptions: ClientOptions) = apply {
httpClient = clientOptions.httpClient
httpClient = clientOptions.originalHttpClient
jsonMapper = clientOptions.jsonMapper
clock = clientOptions.clock
baseUrl = clientOptions.baseUrl
Expand Down Expand Up @@ -139,6 +140,7 @@ private constructor(
this.queryParams.forEach(queryParams::replaceValues)

return ClientOptions(
httpClient!!,
RetryingHttpClient.builder()
.httpClient(httpClient!!)
.clock(clock)
Expand Down

0 comments on commit 65e8549

Please sign in to comment.