node-red-contrib-cognitive-services
Advanced tools
Comparing version
@@ -48,3 +48,3 @@ var request = require('request'); | ||
{ | ||
console.log("options=" + JSON.stringify(options)); | ||
//console.log("options=" + JSON.stringify(options)); | ||
request.post(options, function (error, response, body) | ||
@@ -61,3 +61,3 @@ { | ||
msg.payload = body[0].scores; | ||
msg.details = body; | ||
msg.detail = body; | ||
node.send(msg); | ||
@@ -64,0 +64,0 @@ } |
@@ -64,3 +64,3 @@ var request = require('request'); | ||
msg.payload = tmp; | ||
msg.details = body; | ||
msg.detail = body; | ||
node.send(msg); | ||
@@ -67,0 +67,0 @@ } |
@@ -45,3 +45,3 @@ var request = require('request'); | ||
msg.payload = body.results[0].probability; | ||
msg.details = body; | ||
msg.detail = body; | ||
node.send(msg); | ||
@@ -87,3 +87,3 @@ } | ||
msg.payload = body; | ||
msg.details = body; | ||
msg.detail = body; | ||
node.send(msg); | ||
@@ -90,0 +90,0 @@ } |
{ | ||
"name": "node-red-contrib-cognitive-services", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Microsoft Cognitive Services", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
50095
2.99%