From c5ca499d3c61ca59e89fa42365bb84324f04a232 Mon Sep 17 00:00:00 2001 From: Harshdeep Singh <6162866+harsh62@users.noreply.github.com> Date: Mon, 27 Nov 2023 13:55:26 -0500 Subject: [PATCH] worked on review comments --- .../AWSCognitoAuthPlugin/Task/AWSAuthSignInWithOTPTask.swift | 2 +- .../Task/Protocols/AuthSignInWithOTPTask.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Task/AWSAuthSignInWithOTPTask.swift b/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Task/AWSAuthSignInWithOTPTask.swift index 0da063ec44..145b5fe9c9 100644 --- a/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Task/AWSAuthSignInWithOTPTask.swift +++ b/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Task/AWSAuthSignInWithOTPTask.swift @@ -128,7 +128,7 @@ class AWSAuthSignInWithOTPTask: AuthSignInWithOTPTask, DefaultLogger { return [:] } - // MARK: Sign In Cancelation + // MARK: Sign In Cancellation private func sendCancelSignInEvent() async { let event = AuthenticationEvent(eventType: .cancelSignIn) diff --git a/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Task/Protocols/AuthSignInWithOTPTask.swift b/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Task/Protocols/AuthSignInWithOTPTask.swift index 44a8dd54b5..e86c171c79 100644 --- a/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Task/Protocols/AuthSignInWithOTPTask.swift +++ b/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Task/Protocols/AuthSignInWithOTPTask.swift @@ -12,5 +12,5 @@ protocol AuthSignInWithOTPTask: AmplifyAuthTask where Request == AuthSignInWithO public extension HubPayload.EventName.Auth { /// eventName for HubPayloads emitted by this operation - static let signInWithOTPAPI = "Auth.SignInWithOTPAPI" + static let signInWithOTPAPI = "Auth.signInWithOTPAPI" }