Skip to content

Commit

Permalink
Merge pull request #4 from stealmh/fix-urlEncodingHeader
Browse files Browse the repository at this point in the history
fix: header값 수정
  • Loading branch information
stealmh authored Nov 30, 2023
2 parents 2e842f7 + 768de23 commit 53d8e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CuteNetwork/Cute.swift
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,6 @@ fileprivate extension Cute {

func addHeaders(_ headers: HTTPHeaders?, request: inout URLRequest) {
guard let headers = headers else { return }
headers.forEach { request.setValue($0, forHTTPHeaderField: $1) }
headers.forEach { request.setValue($1, forHTTPHeaderField: $0) }
}
}

0 comments on commit 53d8e77

Please sign in to comment.