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" }