Skip to content

Commit e52866d

Browse files
author
Julia Huang
committed
Bug fix for example emitting code
Signed-off-by: Julia Huang <[email protected]>
1 parent a770b19 commit e52866d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ var config = {
138138
*/
139139

140140
// The binding instance
141-
var binding = Cloudevent.bindings["http-structured0.1"](config);
141+
var binding = new Cloudevent.bindings["http-structured0.1"](config);
142142

143143
// Emit the event using Promise
144144
binding.emit(cloudevent)

0 commit comments

Comments
 (0)