Skip to content

Commit

Permalink
fix(storage): headers overridden
Browse files Browse the repository at this point in the history
  • Loading branch information
grdsdev committed May 13, 2024
1 parent 866a039 commit ee9d8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Storage/StorageApi.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class StorageApi: @unchecked Sendable {
@discardableResult
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 ee9d8f0

Please # to comment.