fix(core): update
This commit is contained in:
@ -87,9 +87,11 @@ export class BunqAccount {
|
||||
}
|
||||
|
||||
public async getAccounts() {
|
||||
const apiMonetaryAccounts = await this.bunqJSClient.api.monetaryAccount.list(this.userId, {}).catch(e => {
|
||||
console.log(e);
|
||||
});
|
||||
const apiMonetaryAccounts = await this.bunqJSClient.api.monetaryAccount
|
||||
.list(this.userId, {})
|
||||
.catch((e) => {
|
||||
console.log(e);
|
||||
});
|
||||
const accountsArray: MonetaryAccount[] = [];
|
||||
for (const apiAccount of apiMonetaryAccounts) {
|
||||
accountsArray.push(MonetaryAccount.fromAPIObject(this, apiAccount));
|
||||
|
@ -97,7 +97,7 @@ export class MonetaryAccount {
|
||||
older_id?: number | false;
|
||||
} = {
|
||||
count: 200,
|
||||
newer_id: startingIdArg
|
||||
newer_id: startingIdArg,
|
||||
};
|
||||
|
||||
const apiTransactions = await this.bunqAccountRef.bunqJSClient.api.payment.list(
|
||||
|
Reference in New Issue
Block a user