Skip to content

Commit 677a61c

Browse files
committed
Fix swift init from decoder visibility
1 parent ecaf6e0 commit 677a61c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/swift/Sources/Query.swift.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public struct Query : Codable, CustomStringConvertible {
5353
self.values = Query.convertToQueryValueArray(values)
5454
}
5555

56-
init(from decoder: Decoder) throws {
56+
public init(from decoder: Decoder) throws {
5757
let container = try decoder.container(keyedBy: CodingKeys.self)
5858

5959
self.method = try container.decode(String.self, forKey: .method)

0 commit comments

Comments
 (0)