Skip to content

Commit

Permalink
fix: typo var
Browse files Browse the repository at this point in the history
  • Loading branch information
shuffledex committed Jun 29, 2020
1 parent b75d02a commit 7b08349
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/api/entities/SecurityToken/TokenHolders.ts
Expand Up @@ -79,17 +79,17 @@ export class TokenHolders extends Namespace<SecurityToken> {
);
} else {
data = entries.map(([storageKey, balance]) => {
const entrie = {
const entry = {
identity: new Identity(
{ did: identityIdToString(storageKey.args[1] as IdentityId) },
context
),
balance: balanceToBigNumber(balance),
};
if (opts?.mintStatus) {
return { ...entrie, canMint: false };
return { ...entry, canMint: false };
}
return entrie;
return entry;
});
}

Expand Down

0 comments on commit 7b08349

Please sign in to comment.