return mangoAccount after reloading
This commit is contained in:
parent
263bc6ff1f
commit
8296d660d8
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue