We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71349a7 commit dc91e62Copy full SHA for dc91e62
1 file changed
services/tone_analyzer/v3.js
@@ -112,12 +112,13 @@ module.exports = function (RED) {
112
var options = {
113
'text': msg.payload,
114
'sentences': msg.sentences || config.sentences,
115
- 'isHTML': msg.contentType || config.contentType
+ 'isHTML': msg.contentType || config.contentType,
116
+ 'tones' : (tones === 'all' ? '' : tones)
117
};
118
- if (tones !== 'all') {
119
- options.tones = tones;
120
- }
+ //if (tones !== 'all') {
+ // options.tones = tones;
121
+ //}
122
123
return options;
124
}
0 commit comments