From a7b84a89be25710ab1c2f7b722d6a1292deb3326 Mon Sep 17 00:00:00 2001 From: Nicolas Froidure Date: Thu, 5 Dec 2024 16:45:14 +0100 Subject: [PATCH] fix(@whook/aws-lambda): fix lambda testing --- packages/whook-aws-lambda/src/commands/testHTTPLambda.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/whook-aws-lambda/src/commands/testHTTPLambda.ts b/packages/whook-aws-lambda/src/commands/testHTTPLambda.ts index 48c3bd04..14b7631e 100644 --- a/packages/whook-aws-lambda/src/commands/testHTTPLambda.ts +++ b/packages/whook-aws-lambda/src/commands/testHTTPLambda.ts @@ -166,7 +166,7 @@ async function initTestHTTPLambdaCommand({ } log('info', 'AWS_REQUEST:', awsRequest as unknown as string); - const result: APIGatewayProxyResult = await handler(awsRequest); + const result: APIGatewayProxyResult = await handler(awsRequest, {}); log('info', 'SUCCESS:', result as unknown as string);