Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Kodeš <jan.kodes@strv.com>
  • Loading branch information
matejmolnar and johnkodes authored Dec 18, 2023
1 parent 102eb98 commit 7ad5d75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Networking/Core/Requestable+Convenience.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ public extension Requestable {
// encode url parameters
if let urlParametersType {
switch urlParametersType {
case .dictionary(let dictionary):
case let .dictionary(dictionary):
urlComponents.queryItems = buildQueryItems(urlParameters: dictionary)
case .percentEncodedQueryItems(let items):
case let .percentEncodedQueryItems(items):
urlComponents.percentEncodedQueryItems = items
}
}
Expand Down

0 comments on commit 7ad5d75

Please sign in to comment.