Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Nov 7, 2022
1 parent d1ba596 commit e6e5663
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rpc-methods/src/permitted/requestSnaps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
* `wallet_requestSnaps` installs the requested Snaps and requests permission to use them if necessary.
*/
export const requestSnapsHandler: PermittedHandlerExport<
InstallSnapsHooks,
RequestSnapsHooks,
RequestedPermissions,
InstallSnapsResult
> = {
Expand Down Expand Up @@ -108,7 +108,7 @@ async function requestSnapsImplementation(
res: PendingJsonRpcResponse<InstallSnapsResult>,
_next: unknown,
end: JsonRpcEngineEndCallback,
{ installSnaps, requestPermissions, getPermissions }: InstallSnapsHooks,
{ installSnaps, requestPermissions, getPermissions }: RequestSnapsHooks,
): Promise<void> {
const requestedSnaps = req.params;
if (!isObject(requestedSnaps)) {
Expand Down

0 comments on commit e6e5663

Please sign in to comment.