diff --git a/Sources/Networking/Networking+New.swift b/Sources/Networking/Networking+New.swift index e6e7505..8303113 100644 --- a/Sources/Networking/Networking+New.swift +++ b/Sources/Networking/Networking+New.swift @@ -17,7 +17,7 @@ extension Networking { case .success(let response): if T.self == Data.self { logger.info("Successfully processed fake request to \(path, privacy: .public)") - return .success(() as! T) + return .success(Data() as! T) } else { let decoder = JSONDecoder() decoder.dateDecodingStrategy = .iso8601