Skip to content

Commit de4ad6f

Browse files
committed
Fix for incorrectly JSON stringified events for Custom Lambdas
1 parent 8b5b3b7 commit de4ad6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/event-mocks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
}
1111

1212
function customLambdas (payload) {
13-
return JSON.stringify(payload) || {}
13+
return payload || {}
1414
}
1515

1616
function events (payload) {

0 commit comments

Comments
 (0)