Skip to content

Commit 0631691

Browse files
committed
refactor: remove unneeded bit
1 parent ec4f7ee commit 0631691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export function pickEventContextV2<M extends boolean = false>(event: APIGatewayP
7979
> {
8080
return options.minimal
8181
// @ts-expect-error Some weird PickDeep bug
82-
? { ...objectPick(event, ['routeKey', 'rawPath', 'rawQueryString', 'headers', 'requestContext']), requestContext: { http: { method: event.requestContext?.http?.method } } }
82+
? { ...objectPick(event, ['routeKey', 'rawPath', 'rawQueryString', 'headers']), requestContext: { http: { method: event.requestContext?.http?.method } } }
8383
: objectPick(event, ['routeKey', 'rawPath', 'rawQueryString', 'headers', 'requestContext', 'isBase64Encoded'])
8484
}
8585

0 commit comments

Comments
 (0)