Skip to content

Commit 8913c37

Browse files
authored
Merge pull request #16 from playground-julia/julia/fixREADME
Bug fix for example regarding emitting
2 parents ac6cf27 + e52866d commit 8913c37

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)