fix(core): update

This commit is contained in:
2020-08-21 01:33:30 +00:00
parent 282d2bdf24
commit f0e27bf7c8
3 changed files with 12 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
import * as plugins from './bunq.plugins';
import * as paths from './bunq.paths';
import { MonetaryAccount } from './bunq.classes.monetaryaccount';
import { BunqMonetaryAccount } from './bunq.classes.monetaryaccount';
export interface IBunqConstructorOptions {
deviceName: string;
@@ -92,9 +92,9 @@ export class BunqAccount {
.catch((e) => {
console.log(e);
});
const accountsArray: MonetaryAccount[] = [];
const accountsArray: BunqMonetaryAccount[] = [];
for (const apiAccount of apiMonetaryAccounts) {
accountsArray.push(MonetaryAccount.fromAPIObject(this, apiAccount));
accountsArray.push(BunqMonetaryAccount.fromAPIObject(this, apiAccount));
}
return accountsArray;
}