From 737e52bfa2f4fd61a48215f85750c737908b0cb9 Mon Sep 17 00:00:00 2001 From: Darin Fisher Date: Thu, 9 May 2024 14:30:51 -0700 Subject: [PATCH] fixes --- .github/workflows/build.yml | 4 ++-- Sources/FirebaseFunctions/HTTPSCallable+Swift.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ddf73d..9f72892 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: - uses: dsaltares/fetch-gh-release-asset@a40c8b4a0471f9ab81bdf73a010f74cc51476ad4 # v1.1.1 with: repo: thebrowsercompany/firebase-cpp-sdk - version: tags/20240509.4 + version: tags/20240509.9 file: firebase-windows-amd64.zip - run: Expand-Archive -Path firebase-windows-amd64.zip -DestinationPath third_party/firebase-development @@ -66,7 +66,7 @@ jobs: - uses: dsaltares/fetch-gh-release-asset@a40c8b4a0471f9ab81bdf73a010f74cc51476ad4 # v1.1.1 with: repo: thebrowsercompany/firebase-cpp-sdk - version: tags/20240509.4 + version: tags/20240509.9 file: firebase-windows-amd64.zip - run: Expand-Archive -Path firebase-windows-amd64.zip -DestinationPath third_party/firebase-development diff --git a/Sources/FirebaseFunctions/HTTPSCallable+Swift.swift b/Sources/FirebaseFunctions/HTTPSCallable+Swift.swift index d6e26d1..5f2b018 100644 --- a/Sources/FirebaseFunctions/HTTPSCallable+Swift.swift +++ b/Sources/FirebaseFunctions/HTTPSCallable+Swift.swift @@ -39,7 +39,7 @@ public class HTTPSCallable { let variant = try! toVariant(data) let future = swift_firebase.swift_cxx_shims.firebase.functions.https_callable_call(impl, variant) future.setCompletion({ - let (result, error) = future.resultAndError { FunctionsErrorCode($0) } + let (result, error) = future.resultAndError { FirebaseFunctionsErrorCode($0) } completion(result.map { .init($0) }, error) }) }