Skip to content

Commit

Permalink
fix: allowedProtocols optional in notify getImplementation
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed May 21, 2024
1 parent e80a572 commit 0d113d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/snaps-rpc-methods/src/restricted/notify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export function getImplementation(
isOnPhishingList,
maybeUpdatePhishingList,
}: NotifyMethodHooks,
allowedProtocols: string[],
allowedProtocols?: string[],
) {
return async function implementation(
args: RestrictedMethodOptions<NotifyParams>,
Expand Down

0 comments on commit 0d113d7

Please sign in to comment.