Skip to content

Commit

Permalink
Hotfix non-existing query string parameters on AWS http adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
IhostVlad authored Nov 21, 2018
1 parent e37e7b4 commit 403687d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 403687d

Please sign in to comment.