Skip to content

Commit 28480c7

Browse files
committed
HTTP Binary
Signed-off-by: Fabio José <[email protected]>
1 parent 0c9c5ae commit 28480c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bindings/http/binary_0_1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ HTTPBinary.prototype.emit = function(cloudevent){
2727
_headers["CE-SchemaURL"] = cloudevent.getSchemaurl();
2828

2929
// Set the cloudevent payload
30-
_config["data"] = cloudevent.format();
30+
_config["data"] = cloudevent.format().data;
3131

3232
// Return the Promise
3333
return axios.request(_config);

0 commit comments

Comments
 (0)