From cc89dd22d5b7b74a8b5081e5c5a0b45ab7512751 Mon Sep 17 00:00:00 2001 From: Harshdeep Singh <6162866+harsh62@users.noreply.github.com> Date: Fri, 12 Jan 2024 10:27:54 -0500 Subject: [PATCH] worked on review comment --- .../Support/HostedUI/HostedUIASWebAuthenticationSession.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Support/HostedUI/HostedUIASWebAuthenticationSession.swift b/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Support/HostedUI/HostedUIASWebAuthenticationSession.swift index 1c92744817..964efdada7 100644 --- a/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Support/HostedUI/HostedUIASWebAuthenticationSession.swift +++ b/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Support/HostedUI/HostedUIASWebAuthenticationSession.swift @@ -26,13 +26,13 @@ class HostedUIASWebAuthenticationSession: NSObject, HostedUISessionBehavior { return try await withCheckedThrowingContinuation { [weak self] (continuation: CheckedContinuation<[URLQueryItem], Error>) in - guard let self = self else { return } + guard let self else { return } let aswebAuthenticationSession = createAuthenticationSession( url: url, callbackURLScheme: callbackScheme, completionHandler: { [weak self] url, error in - guard let self = self else { return } + guard let self else { return } if let url = url { let urlComponents = URLComponents(url: url, resolvingAgainstBaseURL: false) let queryItems = urlComponents?.queryItems ?? []