Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fynnss committed Aug 8, 2023
1 parent 2333b9a commit e70d5c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/permission/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func (k Keeper) GetPolicyGroupForResource(ctx sdk.Context, resourceID math.Uint,

var policyGroup types.PolicyGroup
k.cdc.MustUnmarshal(bz, &policyGroup)
return &policyGroup, false
return &policyGroup, true
}

func (k Keeper) GetPolicyForGroup(ctx sdk.Context, resourceID math.Uint,
Expand Down

0 comments on commit e70d5c6

Please sign in to comment.