From 1f724000ae5356eba563315b39eb013ebbb42f31 Mon Sep 17 00:00:00 2001 From: Eblen M Date: Wed, 26 Feb 2025 09:50:01 -0600 Subject: [PATCH] Update API signature Change Request to be an optional type. --- FirebaseFunctions/Sources/Callable+Codable.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FirebaseFunctions/Sources/Callable+Codable.swift b/FirebaseFunctions/Sources/Callable+Codable.swift index 45f2f320762..b632a52e529 100644 --- a/FirebaseFunctions/Sources/Callable+Codable.swift +++ b/FirebaseFunctions/Sources/Callable+Codable.swift @@ -211,7 +211,7 @@ public enum StreamResponse: Decodable, @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *) public extension Callable { - func stream(_ data: Request) throws -> AsyncThrowingStream { + func stream(_ data: Request? = nil) throws -> AsyncThrowingStream { let encoded: Any do { encoded = try encoder.encode(data)