Skip to content

Commit

Permalink
Make URLDataPublisher.data public
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyathewhite committed Apr 1, 2021
1 parent 6a8b4b3 commit d0b2069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/UIKitEx/URLDataPublisher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public struct URLDataPublisher {
}

public typealias Publisher = AnySingleValuePublisher<(data: Data, response: URLResponse), URLError>
var data: (_ request: URLRequest) -> Publisher
public var data: (_ request: URLRequest) -> Publisher

public func callAsFunction(for request: URLRequest) -> Publisher {
data(request)
Expand Down

0 comments on commit d0b2069

Please sign in to comment.