From 28480c7b44584ac7f70796024a099be4fe971525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20Jos=C3=A9?= Date: Mon, 17 Dec 2018 21:23:37 -0200 Subject: [PATCH] HTTP Binary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabio José --- lib/bindings/http/binary_0_1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bindings/http/binary_0_1.js b/lib/bindings/http/binary_0_1.js index 7cbe2ed..9309c63 100644 --- a/lib/bindings/http/binary_0_1.js +++ b/lib/bindings/http/binary_0_1.js @@ -27,7 +27,7 @@ HTTPBinary.prototype.emit = function(cloudevent){ _headers["CE-SchemaURL"] = cloudevent.getSchemaurl(); // Set the cloudevent payload - _config["data"] = cloudevent.format(); + _config["data"] = cloudevent.format().data; // Return the Promise return axios.request(_config);