Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(client configuration): default headers not applied #839

Merged
merged 6 commits into from
Dec 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: lint issues
  • Loading branch information
VladislavFitz committed Nov 27, 2023
commit d4df50d514ef4fbd90cef988b6c0e6df04618512
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class CustomClientConfigurationTests: XCTestCase {
.hitsSearch(.init(indexName: "some-index", query: "search"))
]

let requestOptions = RequestOptions(headers: ["another-header": "another-value"])
let requestOptions = RequestOptions(headers: ["Content-Type": "application/json"])

client.search(queries: queries, requestOptions: requestOptions) { _ in }

Expand Down