Skip to content

Commit a3e7a20

Browse files
authored
Fix: a variable name in FirebaseSessions' source code (#13827)
1 parent d37a551 commit a3e7a20

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

FirebaseSessions/Sources/Installations+InstallationsProtocol.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ extension InstallationsProtocol {
3737

3838
func installationID(completion: @escaping (Result<(String, String), Error>) -> Void) {
3939
var authTokenComplete = ""
40-
var intallationComplete: String?
40+
var installationComplete: String?
4141
var errorComplete: Error?
4242

4343
let workingGroup = DispatchGroup()
@@ -51,7 +51,7 @@ extension InstallationsProtocol {
5151
workingGroup.enter()
5252
installationID { (installationID: String?, error: Error?) in
5353
if let installationID {
54-
intallationComplete = installationID
54+
installationComplete = installationID
5555
} else if let error = error {
5656
errorComplete = error
5757
}
@@ -67,8 +67,8 @@ extension InstallationsProtocol {
6767
completion(.failure(FirebaseSessionsError.SessionInstallationsTimeOutError))
6868
return
6969
default:
70-
if let intallationComplete {
71-
completion(.success((intallationComplete, authTokenComplete)))
70+
if let installationComplete {
71+
completion(.success((installationComplete, authTokenComplete)))
7272
} else if let errorComplete {
7373
completion(.failure(errorComplete))
7474
}

0 commit comments

Comments
 (0)