We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f124a1 commit 5808ffeCopy full SHA for 5808ffe
packages/snaps-rpc-methods/src/permissions.ts
@@ -27,7 +27,7 @@ export const filterRemovedPermissions = (
27
initialPermission: [string, unknown],
28
) => {
29
const [value] = initialPermission;
30
- return REMOVED_PERMISSIONS.some((permission) => permission === value);
+ return !REMOVED_PERMISSIONS.some((permission) => permission === value);
31
};
32
33
/**
0 commit comments