Skip to content

Commit

Permalink
Merge branch 'mpan' of https://github.com/braintree/braintree_ios int…
Browse files Browse the repository at this point in the history
…o mpan
  • Loading branch information
stechiu committed Feb 12, 2025
2 parents 632f446 + 28ca608 commit d1c7b98
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/BraintreeApplePay/BTApplePayCardNonce.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ import BraintreeCore

let cardType = json["details"]["cardType"].asString() ?? "ApplePayCard"
let isDefault = json["default"].isTrue
let isDeviceToken = json["details"]["isDeviceToken"].asBool() ?? true

self.isDeviceToken = isDeviceToken
self.isDeviceToken = json["details"]["isDeviceToken"].asBool() ?? true

binData = BTBinData(json: json["binData"])
super.init(nonce: nonce, type: cardType, isDefault: isDefault)
Expand Down

0 comments on commit d1c7b98

Please sign in to comment.