Skip to content

Commit

Permalink
Make AuthInterop and AppCheckInterop properties optional in Stora…
Browse files Browse the repository at this point in the history
…ge (#12387)
  • Loading branch information
andrewheard authored Feb 14, 2024
1 parent 2c76938 commit ab0d085
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions FirebaseStorage/Sources/Storage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ import FirebaseCore

private static func initFetcherServiceForApp(_ app: FirebaseApp,
_ bucket: String,
_ auth: AuthInterop,
_ appCheck: AppCheckInterop)
_ auth: AuthInterop?,
_ appCheck: AppCheckInterop?)
-> GTMSessionFetcherService {
objc_sync_enter(fetcherServiceLock)
defer { objc_sync_exit(fetcherServiceLock) }
Expand All @@ -334,8 +334,8 @@ import FirebaseCore
return fetcherService!
}

private let auth: AuthInterop
private let appCheck: AppCheckInterop
private let auth: AuthInterop?
private let appCheck: AppCheckInterop?
private let storageBucket: String
private var usesEmulator: Bool = false
var host: String
Expand Down

0 comments on commit ab0d085

Please sign in to comment.