From 81a68884cbfdf19fde679dd75f999789739609df Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 1 May 2024 21:16:57 -0700 Subject: [PATCH] Fix concurrency warning. --- Feedly/Sources/Feedly/FeedlyAPICaller.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Feedly/Sources/Feedly/FeedlyAPICaller.swift b/Feedly/Sources/Feedly/FeedlyAPICaller.swift index 363f1e39b..10e389709 100644 --- a/Feedly/Sources/Feedly/FeedlyAPICaller.swift +++ b/Feedly/Sources/Feedly/FeedlyAPICaller.swift @@ -103,7 +103,7 @@ public protocol FeedlyAPICallerDelegate: AnyObject { } } - private func send(request: URLRequest, resultType: R.Type, dateDecoding: JSONDecoder.DateDecodingStrategy = .iso8601, keyDecoding: JSONDecoder.KeyDecodingStrategy = .useDefaultKeys, completion: @escaping (Result<(HTTPURLResponse, R?), Error>) -> Void) { + private func send(request: URLRequest, resultType: R.Type, dateDecoding: JSONDecoder.DateDecodingStrategy = .iso8601, keyDecoding: JSONDecoder.KeyDecodingStrategy = .useDefaultKeys, completion: @escaping @Sendable (Result<(HTTPURLResponse, R?), Error>) -> Void) { transport.send(request: request, resultType: resultType, dateDecoding: dateDecoding, keyDecoding: keyDecoding) { [weak self] result in