Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
Bump oldest xcode version to xcode_13.1
  • Loading branch information
lsmilek1 committed Feb 15, 2024
1 parent f125613 commit bb03440
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions Sources/ParseSwift/Extensions/URLSession.swift
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,13 @@ internal extension URLSession {

dataTask(with: request) { (responseData, urlResponse, responseError) in
guard let httpResponse = urlResponse as? HTTPURLResponse else {
completion(self.makeResult(request: request,
responseData: responseData,
urlResponse: urlResponse,
responseError: responseError,
mapper: mapper))
callbackQueue.async {
completion(self.makeResult(request: request,
responseData: responseData,
urlResponse: urlResponse,
responseError: responseError,
mapper: mapper))
}
return
}
let statusCode = httpResponse.statusCode
Expand All @@ -207,11 +209,13 @@ internal extension URLSession {
}
return
}
completion(self.makeResult(request: request,
responseData: responseData,
urlResponse: urlResponse,
responseError: responseError,
mapper: mapper))
callbackQueue.async {
completion(self.makeResult(request: request,
responseData: responseData,
urlResponse: urlResponse,
responseError: responseError,
mapper: mapper))
}
}.resume()
}
}
Expand Down

0 comments on commit bb03440

Please sign in to comment.