We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ba1c7a commit 866a039Copy full SHA for 866a039
Sources/Auth/Internal/APIClient.swift
@@ -23,7 +23,7 @@ struct APIClient: Sendable {
23
24
func execute(_ request: HTTPRequest) async throws -> HTTPResponse {
25
var request = request
26
- request.headers.merge(with: HTTPHeaders(configuration.headers))
+ request.headers = HTTPHeaders(configuration.headers).merged(with: request.headers)
27
28
let response = try await http.send(request)
29
0 commit comments