return mangoAccount after reloading

This commit is contained in:
tjs 2022-08-31 15:33:07 -04:00
parent 263bc6ff1f
commit 8296d660d8
1 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,8 @@ export class MangoAccount {
async reload(client: MangoClient, group: Group): Promise<MangoAccount> {
Object.assign(this, await client.getMangoAccount(this));
return await this.reloadAccountData(client, group);
await this.reloadAccountData(client, group);
return this;
}
async reloadAccountData(