Skip to content

Commit

Permalink
Fix isDefaultCredit helper method
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaHCD committed Oct 27, 2022
1 parent e0fee2c commit 4ed79c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/models/BankAccount.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class BankAccount {
* @returns {Boolean}
*/
isDefaultCredit() {
return this.json.isDefault === true;
return this.json.accountData.defaultCredit === true;
}

/**
Expand Down

0 comments on commit 4ed79c9

Please sign in to comment.