Skip to content

Commit

Permalink
Update paypalrequest property
Browse files Browse the repository at this point in the history
  • Loading branch information
richherrera committed Jan 21, 2025
1 parent 5cf34f5 commit 362f9bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/BraintreePayPal/BTPayPalClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import BraintreeDataCollector
var clientMetadataID: String?

/// Exposed for testing the intent associated with this request
var payPalRequest: PayPalRequest?
var payPalRequest: BTPayPalRequest?

/// Exposed for testing, the ASWebAuthenticationSession instance used for the PayPal flow
var webAuthenticationSession: BTWebAuthenticationSession
Expand Down Expand Up @@ -331,7 +331,7 @@ import BraintreeDataCollector
// MARK: - Private Methods

private func tokenize(
request: PayPalRequest,
request: BTPayPalRequest,
completion: @escaping (BTPayPalAccountNonce?, Error?) -> Void
) {
linkType = (request as? BTPayPalVaultRequest)?.enablePayPalAppSwitch == true ? .universal : .deeplink
Expand Down

0 comments on commit 362f9bb

Please sign in to comment.