Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
hotfix for passing default bank acct id
  • Loading branch information
rrk12005 committed Apr 8, 2019
1 parent 520d31a commit cc16cdf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -55,7 +55,7 @@ class PaymentDetailInterfaceController: WKInterfaceController {


// process this payment using default bank account (9999) until ability to change account is implemented // process this payment using default bank account (9999) until ability to change account is implemented
if let bankacct = UserDefaults.standard.dictionary(forKey: "default_bank_acct") as? [String: String] { if let bankacct = UserDefaults.standard.dictionary(forKey: "default_bank_acct") as? [String: String] {
self.bankID = bankacct["bankID"] ?? "9999" self.bankID = bankacct["bankAcctId"] ?? "9999"
} }


FetchData.submitPayment(for: alias, type: type, amount: self.paymentAmount, bankID: self.bankID) { confirmationNum, paymentID, error in FetchData.submitPayment(for: alias, type: type, amount: self.paymentAmount, bankID: self.bankID) { confirmationNum, paymentID, error in
Expand Down

0 comments on commit cc16cdf

Please sign in to comment.