HTTP Binary
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
0c9c5ae512
commit
28480c7b44
|
@ -27,7 +27,7 @@ HTTPBinary.prototype.emit = function(cloudevent){
|
||||||
_headers["CE-SchemaURL"] = cloudevent.getSchemaurl();
|
_headers["CE-SchemaURL"] = cloudevent.getSchemaurl();
|
||||||
|
|
||||||
// Set the cloudevent payload
|
// Set the cloudevent payload
|
||||||
_config["data"] = cloudevent.format();
|
_config["data"] = cloudevent.format().data;
|
||||||
|
|
||||||
// Return the Promise
|
// Return the Promise
|
||||||
return axios.request(_config);
|
return axios.request(_config);
|
||||||
|
|
Loading…
Reference in New Issue