mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 00:34:28 +08:00
modify method name
This commit is contained in:
@@ -312,11 +312,11 @@ export class Account implements AccountInfoResponse {
|
||||
accountResponse.creditCardStatementDate,
|
||||
accountResponse.isAsset,
|
||||
accountResponse.isLiability,
|
||||
accountResponse.subAccounts ? Account.ofMany(accountResponse.subAccounts) : undefined
|
||||
accountResponse.subAccounts ? Account.ofMulti(accountResponse.subAccounts) : undefined
|
||||
);
|
||||
}
|
||||
|
||||
public static ofMany(accountResponses: AccountInfoResponse[]): Account[] {
|
||||
public static ofMulti(accountResponses: AccountInfoResponse[]): Account[] {
|
||||
const accounts: Account[] = [];
|
||||
|
||||
for (const accountResponse of accountResponses) {
|
||||
|
||||
Reference in New Issue
Block a user