Skip to content

Commit

Permalink
adding back return statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh62 committed Jan 11, 2024
1 parent b90eff6 commit 54c7c15
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ class HostedUIASWebAuthenticationSession: NSObject, HostedUISessionBehavior {
where: { $0.name == "error_description" }
)?.value?.trim() ?? ""
let message = "\(error) \(errorDescription)"
continuation.resume(
return continuation.resume(
throwing: HostedUIError.serviceMessage(message))
} else {
continuation.resume(
return continuation.resume(
returning: queryItems)
}
} else if let error = error {
continuation.resume(
return continuation.resume(
throwing: self.convertHostedUIError(error))
} else {
continuation.resume(
return continuation.resume(
throwing: HostedUIError.unknown)
}
})
Expand Down

0 comments on commit 54c7c15

Please sign in to comment.