diff --git a/AppleLibs/Network/Requests/DataManager.swift b/AppleLibs/Network/Requests/DataManager.swift index 664c71a1896c37cf44f9475e19043fd50a1010cd..f1eb9c0bd0ff42687cc1135332d8c5c0a388fcc8 100644 --- a/AppleLibs/Network/Requests/DataManager.swift +++ b/AppleLibs/Network/Requests/DataManager.swift @@ -12,13 +12,13 @@ import Logging public protocol HttpResponseFilter { @available(iOS 15.0.0, *) - func handleResponse(request: Request, data: Data?, dataMapper: DataMapper?, sender: Any?) async throws -> Any? + func handleResponse(request: Request, data: Data?, dataMapper: DataMapper?, sender: Any?) async throws -> Any } public protocol HttpSuccessFilter { @available(iOS 15.0.0, *) - func handleResponse(data: Data?, response: HTTPURLResponse, dataMapper: DataMapper?, sender: Any?) async throws -> Any? + func handleResponse(data: Data?, response: HTTPURLResponse, dataMapper: DataMapper?, sender: Any?) async throws -> Any } public protocol DataManagerDelegate