Skip to content

Commit

Permalink
forgotten file
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeRx committed Nov 6, 2024
1 parent 4f124a1 commit 5808ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/snaps-rpc-methods/src/permissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const filterRemovedPermissions = (
initialPermission: [string, unknown],
) => {
const [value] = initialPermission;
return REMOVED_PERMISSIONS.some((permission) => permission === value);
return !REMOVED_PERMISSIONS.some((permission) => permission === value);
};

/**
Expand Down

0 comments on commit 5808ffe

Please sign in to comment.