dougmoscrop / serverless-http

Use your existing middleware framework (e.g. Express, Koa) in AWS Lambda 🎉
Other
1.72k stars 166 forks source link

The wrong request ID is being added to the headers #17

Closed rochdev closed 7 years ago

rochdev commented 7 years ago

Right now the request ID being used is context.awsRequestId, but that is the request ID of the Lambda invocation, not the API Gateway request. The correct request ID is event.requestContext.requestId.

dougmoscrop commented 7 years ago

Fixed!

dougmoscrop commented 7 years ago

1.4.1