Skip to content

Commit

Permalink
Fix request template for invoke integration
Browse files Browse the repository at this point in the history
  • Loading branch information
dherault committed Jun 8, 2019
1 parent fded3b5 commit 81ae588
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/index.js
Expand Up @@ -445,10 +445,7 @@ class Offline {
request: {
template: {
// AWS SDK for NodeJS specifies as 'binary/octet-stream' not 'application/json'
'binary/octet-stream': JSON.stringify({
body: '$input.body',
targetHandler: fun.handler,
}),
'binary/octet-stream': '$input.body',
},
},
response: {
Expand Down

0 comments on commit 81ae588

Please sign in to comment.