Skip to content

Commit

Permalink
Fix for Xcode 13
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseidhof committed Aug 25, 2023
1 parent 6106396 commit 45ba230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TinyNetworking/Endpoint.swift
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ public extension URLSession {
/// - Returns: The parsed `A` value specified in `Endpoint`
func load<A>(_ e: Endpoint<A>) async throws -> A {
let request = e.request
let (data, resp) = try await data(for: request)
let (data, resp) = try await self.data(for: request)
guard let h = resp as? HTTPURLResponse else {
throw UnknownError()
}
Expand Down

0 comments on commit 45ba230

Please sign in to comment.