Skip to content

Commit 9294af2

Browse files
Update concept_insights.v2.js
fix for #102. missing `graphs ` in `annotateText` call
1 parent 217d66c commit 9294af2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/concept_insights.v2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ var params = {
1414
};
1515

1616
// Retrieve the concepts for input text
17-
concept_insights.annotateText(params, function(err, res) {
17+
concept_insights.graphs.annotateText(params, function(err, res) {
1818
if (err)
1919
console.log(err);
2020
else {
2121
console.log('Annotated Text');
2222
console.log(JSON.stringify(res, null, 2));
2323
}
24-
});
24+
});

0 commit comments

Comments
 (0)