HTTP Binary

Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
Fabio José 2018-12-17 21:23:37 -02:00
parent 0c9c5ae512
commit 28480c7b44
1 changed files with 1 additions and 1 deletions

View File

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