We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dfc1bc commit 2356e19Copy full SHA for 2356e19
1 file changed
lib/index.js
@@ -368,6 +368,10 @@ function determineIsEventVersionV1(event) {
368
if (event.version === '1.0') {
369
return true;
370
}
371
+
372
+ if (event.version === '2.0') {
373
+ return false;
374
+ }
375
// per aws event spec https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html
376
// events suppose to have version specified.
377
// For some reason, the version is not specified in some cases.
0 commit comments