From 4bd2a8fdca45ee8eb9abfabe15e10037fb03b3a6 Mon Sep 17 00:00:00 2001 From: Jans Pavlovs Date: Fri, 14 Jun 2024 16:31:28 +0300 Subject: [PATCH] =?UTF-8?q?Fix=20=E2=80=98fetch=20identity=E2=80=99=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Favourites/Shared/Auth/AuthenticationViewModel.swift | 2 +- .../Favourites/Shared/Auth/AuthenticationViewModel.swift | 2 +- .../Favourites/Shared/Auth/AuthenticationViewModel.swift | 4 ++-- .../Favourites/Shared/Auth/AuthenticationViewModel.swift | 2 +- .../Favourites/Shared/Auth/AuthenticationViewModel.swift | 2 +- .../Favourites/Shared/Auth/AuthenticationViewModel.swift | 4 ++-- .../Favourites/Shared/Auth/AuthenticationViewModel.swift | 4 ++-- .../Favourites/Shared/Auth/AuthenticationViewModel.swift | 2 +- .../Favourites/Shared/Auth/AuthenticationViewModel.swift | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/fundamentals/apple/auth-account-linking/final/Favourites/Shared/Auth/AuthenticationViewModel.swift b/fundamentals/apple/auth-account-linking/final/Favourites/Shared/Auth/AuthenticationViewModel.swift index 1ee18481..3fc6f5f7 100644 --- a/fundamentals/apple/auth-account-linking/final/Favourites/Shared/Auth/AuthenticationViewModel.swift +++ b/fundamentals/apple/auth-account-linking/final/Favourites/Shared/Auth/AuthenticationViewModel.swift @@ -307,7 +307,7 @@ extension AuthenticationViewModel { fatalError("Invalid state: a login callback was received, but no login request was sent.") } guard let appleIDToken = appleIDCredential.identityToken else { - print("Unable to fetdch identify token.") + print("Unable to fetch identity token.") return } guard let idTokenString = String(data: appleIDToken, encoding: .utf8) else { diff --git a/fundamentals/apple/auth-account-linking/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift b/fundamentals/apple/auth-account-linking/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift index fee8f4ec..bbb693cc 100644 --- a/fundamentals/apple/auth-account-linking/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift +++ b/fundamentals/apple/auth-account-linking/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift @@ -175,7 +175,7 @@ extension AuthenticationViewModel { fatalError("Invalid state: a login callback was received, but no login request was sent.") } guard let appleIDToken = appleIDCredential.identityToken else { - print("Unable to fetdch identify token.") + print("Unable to fetch identity token.") return } guard let idTokenString = String(data: appleIDToken, encoding: .utf8) else { diff --git a/fundamentals/apple/auth-delete-accounts-and-data/final/Favourites/Shared/Auth/AuthenticationViewModel.swift b/fundamentals/apple/auth-delete-accounts-and-data/final/Favourites/Shared/Auth/AuthenticationViewModel.swift index 47847e14..181a9116 100644 --- a/fundamentals/apple/auth-delete-accounts-and-data/final/Favourites/Shared/Auth/AuthenticationViewModel.swift +++ b/fundamentals/apple/auth-delete-accounts-and-data/final/Favourites/Shared/Auth/AuthenticationViewModel.swift @@ -156,7 +156,7 @@ extension AuthenticationViewModel { let appleIDCredential = try await signInWithApple() guard let appleIDToken = appleIDCredential.identityToken else { - print("Unable to fetdch identify token.") + print("Unable to fetch identity token.") return false } guard let idTokenString = String(data: appleIDToken, encoding: .utf8) else { @@ -298,7 +298,7 @@ extension AuthenticationViewModel { fatalError("Invalid state: a login callback was received, but no login request was sent.") } guard let appleIDToken = appleIDCredential.identityToken else { - print("Unable to fetdch identify token.") + print("Unable to fetch identity token.") return } guard let idTokenString = String(data: appleIDToken, encoding: .utf8) else { diff --git a/fundamentals/apple/auth-delete-accounts-and-data/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift b/fundamentals/apple/auth-delete-accounts-and-data/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift index 77557a20..8e5009de 100644 --- a/fundamentals/apple/auth-delete-accounts-and-data/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift +++ b/fundamentals/apple/auth-delete-accounts-and-data/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift @@ -207,7 +207,7 @@ extension AuthenticationViewModel { fatalError("Invalid state: a login callback was received, but no login request was sent.") } guard let appleIDToken = appleIDCredential.identityToken else { - print("Unable to fetdch identify token.") + print("Unable to fetch identity token.") return } guard let idTokenString = String(data: appleIDToken, encoding: .utf8) else { diff --git a/fundamentals/apple/auth-sign-in-with-apple/final/Favourites/Shared/Auth/AuthenticationViewModel.swift b/fundamentals/apple/auth-sign-in-with-apple/final/Favourites/Shared/Auth/AuthenticationViewModel.swift index 039f749d..7e6d8c95 100644 --- a/fundamentals/apple/auth-sign-in-with-apple/final/Favourites/Shared/Auth/AuthenticationViewModel.swift +++ b/fundamentals/apple/auth-sign-in-with-apple/final/Favourites/Shared/Auth/AuthenticationViewModel.swift @@ -175,7 +175,7 @@ extension AuthenticationViewModel { fatalError("Invalid state: a login callback was received, but no login request was sent.") } guard let appleIDToken = appleIDCredential.identityToken else { - print("Unable to fetdch identify token.") + print("Unable to fetch identity token.") return } guard let idTokenString = String(data: appleIDToken, encoding: .utf8) else { diff --git a/fundamentals/apple/cloud-storage/final/Favourites/Shared/Auth/AuthenticationViewModel.swift b/fundamentals/apple/cloud-storage/final/Favourites/Shared/Auth/AuthenticationViewModel.swift index ec335223..aeacd815 100644 --- a/fundamentals/apple/cloud-storage/final/Favourites/Shared/Auth/AuthenticationViewModel.swift +++ b/fundamentals/apple/cloud-storage/final/Favourites/Shared/Auth/AuthenticationViewModel.swift @@ -155,7 +155,7 @@ extension AuthenticationViewModel { let appleIDCredential = try await signInWithApple() guard let appleIDToken = appleIDCredential.identityToken else { - print("Unable to fetdch identify token.") + print("Unable to fetch identity token.") return false } guard let idTokenString = String(data: appleIDToken, encoding: .utf8) else { @@ -296,7 +296,7 @@ extension AuthenticationViewModel { fatalError("Invalid state: a login callback was received, but no login request was sent.") } guard let appleIDToken = appleIDCredential.identityToken else { - print("Unable to fetdch identify token.") + print("Unable to fetch identity token.") return } guard let idTokenString = String(data: appleIDToken, encoding: .utf8) else { diff --git a/fundamentals/apple/cloud-storage/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift b/fundamentals/apple/cloud-storage/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift index ec335223..aeacd815 100644 --- a/fundamentals/apple/cloud-storage/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift +++ b/fundamentals/apple/cloud-storage/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift @@ -155,7 +155,7 @@ extension AuthenticationViewModel { let appleIDCredential = try await signInWithApple() guard let appleIDToken = appleIDCredential.identityToken else { - print("Unable to fetdch identify token.") + print("Unable to fetch identity token.") return false } guard let idTokenString = String(data: appleIDToken, encoding: .utf8) else { @@ -296,7 +296,7 @@ extension AuthenticationViewModel { fatalError("Invalid state: a login callback was received, but no login request was sent.") } guard let appleIDToken = appleIDCredential.identityToken else { - print("Unable to fetdch identify token.") + print("Unable to fetch identity token.") return } guard let idTokenString = String(data: appleIDToken, encoding: .utf8) else { diff --git a/fundamentals/apple/firestore/final/Favourites/Shared/Auth/AuthenticationViewModel.swift b/fundamentals/apple/firestore/final/Favourites/Shared/Auth/AuthenticationViewModel.swift index 926e2fc5..0f4d22f3 100644 --- a/fundamentals/apple/firestore/final/Favourites/Shared/Auth/AuthenticationViewModel.swift +++ b/fundamentals/apple/firestore/final/Favourites/Shared/Auth/AuthenticationViewModel.swift @@ -175,7 +175,7 @@ extension AuthenticationViewModel { fatalError("Invalid state: a login callback was received, but no login request was sent.") } guard let appleIDToken = appleIDCredential.identityToken else { - print("Unable to fetdch identify token.") + print("Unable to fetch identity token.") return } guard let idTokenString = String(data: appleIDToken, encoding: .utf8) else { diff --git a/fundamentals/apple/firestore/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift b/fundamentals/apple/firestore/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift index 926e2fc5..0f4d22f3 100644 --- a/fundamentals/apple/firestore/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift +++ b/fundamentals/apple/firestore/starter/Favourites/Shared/Auth/AuthenticationViewModel.swift @@ -175,7 +175,7 @@ extension AuthenticationViewModel { fatalError("Invalid state: a login callback was received, but no login request was sent.") } guard let appleIDToken = appleIDCredential.identityToken else { - print("Unable to fetdch identify token.") + print("Unable to fetch identity token.") return } guard let idTokenString = String(data: appleIDToken, encoding: .utf8) else {