From 5321c381f16ffbfa0a70541ce29a22a68d1a9aa4 Mon Sep 17 00:00:00 2001 From: Frederik Bolding Date: Fri, 15 Nov 2024 11:48:27 +0100 Subject: [PATCH] Fix typo --- packages/snaps-execution-environments/src/common/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/snaps-execution-environments/src/common/commands.ts b/packages/snaps-execution-environments/src/common/commands.ts index d05ac67feb..88a10fe888 100644 --- a/packages/snaps-execution-environments/src/common/commands.ts +++ b/packages/snaps-execution-environments/src/common/commands.ts @@ -80,7 +80,7 @@ export function getHandlerArguments( assertIsOnProtocolRequestArguments(request.params); const { request: nestedRequest, scope } = request.params; - return { request: nestedRequest, scope }; + return { origin, request: nestedRequest, scope }; } case HandlerType.OnRpcRequest: