From 0e909c663b43f96a38d2c112654d60e9f4bfb5c3 Mon Sep 17 00:00:00 2001
From: tobias <thinkdifferent055@gmail.com>
Date: Thu, 23 Dec 2021 12:59:49 +0100
Subject: [PATCH] Remove optional return type on DataMapper

---
 AppleLibs/Network/Requests/DataMapper.swift | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/AppleLibs/Network/Requests/DataMapper.swift b/AppleLibs/Network/Requests/DataMapper.swift
index 220d2b6..d40b684 100644
--- a/AppleLibs/Network/Requests/DataMapper.swift
+++ b/AppleLibs/Network/Requests/DataMapper.swift
@@ -11,5 +11,5 @@ import Foundation
 public protocol DataMapper
 {
     @available(iOS 15.0.0, *)
-    func mapData(data: Data?, response: URLResponse?, sender: Any?) async throws -> Any?
+    func mapData(data: Data?, response: URLResponse?, sender: Any?) async throws -> Any
 }
-- 
GitLab