diff --git a/packages/adapters/api-handler-adapters/resolve-api-handler-awslambda/src/index.js b/packages/adapters/api-handler-adapters/resolve-api-handler-awslambda/src/index.js index 18a1e795ba..d2e0f8fc7c 100644 --- a/packages/adapters/api-handler-adapters/resolve-api-handler-awslambda/src/index.js +++ b/packages/adapters/api-handler-adapters/resolve-api-handler-awslambda/src/index.js @@ -59,11 +59,13 @@ const createRequest = async (lambdaEvent, customParameters) => { : {} const req = Object.create(null) + + const query = queryStringParameters != null ? queryStringParameters : {} const reqProperties = { adapter: 'awslambda', method: httpMethod, - query: queryStringParameters, + query, path, headers, cookies,