Skip to content

Commit

Permalink
Fix wrong headers
Browse files Browse the repository at this point in the history
  • Loading branch information
leoMehlig committed May 12, 2024
1 parent 6d4ac07 commit 21451ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Auth/Internal/APIClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct APIClient: Sendable {

func execute(_ request: HTTPRequest) async throws -> HTTPResponse {
var request = request
request.headers.merge(with: HTTPHeaders(configuration.headers))
request.headers = HTTPHeaders(configuration.headers).merged(with: request.headers)

let response = try await http.send(request)

Expand Down

0 comments on commit 21451ef

Please sign in to comment.