Skip to content

Commit

Permalink
Fix Indent
Browse files Browse the repository at this point in the history
  • Loading branch information
richherrera committed Jan 10, 2024
1 parent faa1700 commit ad6cebf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/CardPayments/CardClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ public class CardClient: NSObject {
let result = try await checkoutOrdersAPI.confirmPaymentSource(cardRequest: request)

if result.status == "PAYER_ACTION_REQUIRED",
let url = result.links?.first(where: { $0.rel == "payer-action" })?.href {
let url = result.links?.first(where: { $0.rel == "payer-action" })?.href {
guard getQueryStringParameter(url: url, param: "flow") == "3ds",
url.contains("helios"),
let url = URL(string: url) else {
url.contains("helios"),
let url = URL(string: url) else {
self.notifyFailure(with: CardClientError.threeDSecureURLError)
return
}
Expand Down

0 comments on commit ad6cebf

Please sign in to comment.