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 22, 2024
1 parent 2e0748a commit d066a8c
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 d066a8c

Please sign in to comment.