Skip to content

Commit

Permalink
fix(http-client): map for query builder (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
portellaa authored Apr 5, 2022
1 parent f94f50e commit a3712c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/YData/Client/InternalClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public extension InternalClient {
return nil
}

return String(format: "@%=@%", query.name, escapedValue)
return "\(query.name)=\(escapedValue)"
}.joined(separator: "&")
}

Expand Down

0 comments on commit a3712c4

Please sign in to comment.