Commit 2363d51e authored by Marco Boers's avatar Marco Boers

stringValue

parent f01e8385
......@@ -65,7 +65,7 @@ function createDetectStream() {
console.log(`Detected intent:`);
console.log(data.queryResult);
socketData = {
action: data.queryResult.parameters.fields.action,
action: data.queryResult.parameters.fields.action.stringValue,
intent: data.queryResult.action,
queryText: data.queryResult.queryText
};
......
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