We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73eb328 commit 98dc5b3Copy full SHA for 98dc5b3
services/conversation/v1.js
@@ -144,7 +144,8 @@ module.exports = function(RED) {
144
145
var userName = sUsername || node.credentials.username,
146
passWord = sPassword || node.credentials.password,
147
- endpoint = '';
+ endpoint = '',
148
+ optoutLearning = false;
149
150
if (!(userName || msg.params.username) ||
151
!(passWord || msg.params.password)) {
@@ -183,7 +184,6 @@ module.exports = function(RED) {
183
184
serviceSettings.url = endpoint;
185
}
186
- var optoutLearning = false;
187
if ((msg.params && msg.params['optout_learning'])){
188
optoutLearning = true;
189
} else if (config['optout-learning']){
0 commit comments