From 81ae588adb105b213e3c23d2f3766d6a67ae11bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20H=C3=A9rault?= Date: Sat, 8 Jun 2019 20:14:25 +0200 Subject: [PATCH] Fix request template for invoke integration --- src/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/index.js b/src/index.js index 9354f4dd9..a6c76db99 100755 --- a/src/index.js +++ b/src/index.js @@ -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: {