Skip to content

Commit 3cd0430

Browse files
fix ios build error
1 parent c705591 commit 3cd0430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/StripeSdk.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class StripeSdk: RCTEventEmitter, STPApplePayContextDelegate, STPBankSelectionVi
2727
var shippingMethodUpdateHandler: ((PKPaymentRequestShippingMethodUpdate) -> Void)? = nil
2828
var shippingContactUpdateHandler: ((PKPaymentRequestShippingContactUpdate) -> Void)? = nil
2929

30-
static let MISSING_INIT_ERROR = Errors.createError(ErrorType.Failed.rawValue, "Stripe publishableKey has not been set. Make sure you have initialized Stripe in your app with the StripeProvider component or the initStripe method.")
30+
static let MISSING_INIT_ERROR = Errors.createError(ErrorType.Failed, "Stripe publishableKey has not been set. Make sure you have initialized Stripe in your app with the StripeProvider component or the initStripe method.")
3131

3232
override func supportedEvents() -> [String]! {
3333
return ["onDidSetShippingMethod", "onDidSetShippingContact"]

0 commit comments

Comments
 (0)