Skip to content

Commit

Permalink
Expose isDeviceToken on BTApplePayCardNonce [Duplicate] (#1520)
Browse files Browse the repository at this point in the history
* Added PR comments

* Addressed PR comments
  • Loading branch information
stechiu authored Feb 12, 2025
1 parent 44f42f6 commit 28ca608
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

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

Expand Down

0 comments on commit 28ca608

Please sign in to comment.