Attempt fix

This commit is contained in:
Christoph Hagen 2022-06-09 16:11:29 +02:00
parent 8fd1148cbd
commit 9654da1d4f

View File

@ -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
}