We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ece754 commit 2729d65Copy full SHA for 2729d65
index.js
@@ -33,7 +33,8 @@ module.exports = (app, options) => {
33
})
34
35
}
36
- return (event, context, callback) => {
+ return function (event, context) {
37
+ const callback = arguments[2] // https://github.com/aws/aws-lambda-nodejs-runtime-interface-client/issues/137
38
currentAwsArguments.event = event
39
currentAwsArguments.context = context
40
if (options.callbackWaitsForEmptyEventLoop !== undefined) {
0 commit comments