Taylor
Taylor copied to clipboard
Incorrect number of parameters
Signing.swift:95 Method 'httpBody(parameters:encoding:)' has 4 parameters. The allowed number of parameters is 3
open static func httpBody(for parameters: [String: String], encoding: String.Encoding = .utf8) -> Data? {
let combine: (String, String) -> String = { key, value in
return rfc3986encode(key) + "=" + rfc3986encode(value)
}
return parameters.map(combine).joined(separator: "&").data(using: encoding)
}
@mihai8804858 Thank you for reporting it! @S2dentik Is this something you'd be interested in? 😋