Attempt fix
This commit is contained in:
parent
8fd1148cbd
commit
9654da1d4f
@ -179,7 +179,7 @@ public final class PushClient {
|
||||
@available(iOS 15.0, *)
|
||||
private func post(_ request: URLRequest) async -> Data? {
|
||||
do {
|
||||
let (data, response) = try await URLSession.shared.data(for: request)
|
||||
let (data, response) : (Data, URLResponse) = try await URLSession.shared.data(for: request)
|
||||
guard let httpResponse = response as? HTTPURLResponse else {
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user