Skip to content

Commit

Permalink
Update AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Actions/SignO…
Browse files Browse the repository at this point in the history
…ut/ShowHostedUISignOut.swift

Co-authored-by: Sebastian Villena <[email protected]>
  • Loading branch information
harsh62 and ruisebas authored Jul 4, 2024
1 parent 249e64a commit ab90253
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ class ShowHostedUISignOut: NSObject, Action {
event = getEvent(for: AWSCognitoHostedUIError(error: error.authError))
} else if let error = error {
let serviceError = AuthError.service(
"HostedUI failed with error", "", error)
"HostedUI failed with error",
"",
error
)
event = getEvent(for: AWSCognitoHostedUIError(error: serviceError))
} else {
event = getEvent(for: nil)
Expand Down

0 comments on commit ab90253

Please sign in to comment.