Skip to content

Commit

Permalink
fix: await permission status properly
Browse files Browse the repository at this point in the history
This fixes a bug when fetching delegates in which every delegate appeared to have every permission
assigned to them
  • Loading branch information
monitz87 committed Nov 4, 2019
1 parent 6a73bac commit c53e7db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/SecurityToken/Permissions.ts
Expand Up @@ -170,7 +170,7 @@ export class Permissions extends SubModule {
{ unarchived: true }
))[0];

const status = generalPermissionManager.checkPermission({
const status = await generalPermissionManager.checkPermission({
permission,
module: moduleAddress,
delegate,
Expand Down

0 comments on commit c53e7db

Please sign in to comment.