Skip to content

Commit

Permalink
revert a file
Browse files Browse the repository at this point in the history
  • Loading branch information
joyceqin-stripe committed Mar 4, 2025
1 parent 8a572f8 commit c0c71cb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ extension PaymentSheetFlowControllerViewController: SavedPaymentOptionsViewContr
guard case .saved(let paymentMethod) = paymentMethodSelection else {
throw PaymentSheetError.unknown(debugDescription: "Failed to read payment method from payment method selection")
}

return try await savedPaymentMethodManager.setAsDefaultPaymentMethod(defaultPaymentMethodId: paymentMethod.stripeId)
}

Expand Down

0 comments on commit c0c71cb

Please sign in to comment.