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);