Skip to content

Commit

Permalink
PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Sichan Yoo committed Jun 27, 2024
1 parent 01d3548 commit eaf8be2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SmithyHTTPAPI/SdkHttpRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ extension SdkHttpRequest: CustomDebugStringConvertible, CustomStringConvertible
let query = self.destination.queryString ?? ""
let port = self.destination.port.map { String($0) } ?? ""
let header = headers.dictionary
.filter({ $0.key != "Authorization" })
.map({"\($0.key): \($0.value.joined(separator: ", "))"})
.filter { key, _ in key != "Authorization" }
.map { key, value in "\(key): \(value.joined(separator: ", "))"}
.joined(separator: ", \n")
return "\(method) \(protocolType):\(port) \n " +
"Path: \(endpoint.uri.path) \n Headers: \(header) \n Query: \(query)"
Expand Down

0 comments on commit eaf8be2

Please sign in to comment.