Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
GMALKHA committed Dec 6, 2024
1 parent 4fd409b commit 90919c9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ class PayPalWebViewModel: ObservableObject {
}
} else {
DispatchQueue.main.async {
self.state.approveResultResponse = .loaded(PayPalPaymentState.ApprovalResult(id: orderID, status: "APPROVED"))
self.state.approveResultResponse = .loaded(
PayPalPaymentState.ApprovalResult(id: orderID, status: "APPROVED")
)
self.checkoutResult = result
print("✅ Checkout result: \(String(describing: result))")
}
Expand Down

0 comments on commit 90919c9

Please sign in to comment.