Skip to content

Commit

Permalink
added macCatalyst availability
Browse files Browse the repository at this point in the history
  • Loading branch information
nekonora committed Jan 7, 2022
1 parent 4a8b3ac commit 9c4736b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/NetworkManager/NetworkManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public final class NetworkManager {

// MARK: - Methods
@available(macOS 12.0, *)
@available(macCatalyst 15.0, *)
public func request(baseURL: URL,
endpoint: String,
method: NetworkMethod,
Expand Down Expand Up @@ -59,6 +60,7 @@ public final class NetworkManager {
}

@available(macOS 12.0, *)
@available(macCatalyst 15.0, *)
public func request<T: Codable>(baseURL: URL,
endpoint: String,
method: NetworkMethod,
Expand Down

0 comments on commit 9c4736b

Please sign in to comment.