Commit b6561cde authored by Sergey Dmitriev's avatar Sergey Dmitriev

fix example

parent 7c9c3a6b
...@@ -4,7 +4,7 @@ var handler = function (context) { ...@@ -4,7 +4,7 @@ var handler = function (context) {
context.onEvent('variables') context.onEvent('variables')
.then(function (vars) { .then(function (vars) {
console.log('vars', vars); console.log('vars', vars);
return context.streamFile(); return context.streamFile('beep');
}) })
.then(function (result) { .then(function (result) {
return context.setVariable('RECOGNITION_RESULT', 'I\'m your father, Luc'); return context.setVariable('RECOGNITION_RESULT', 'I\'m your father, Luc');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment