We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6c223b commit a8ab6dbCopy full SHA for a8ab6db
1 file changed
services/language_translation/v2.js
@@ -104,6 +104,8 @@ module.exports = function (RED) {
104
// have been provided.
105
this.on('input', function (msg) {
106
107
+ var message = '';
108
+
109
// The dynamic nature of this node has caused problems with the password field. it is
110
// hidden but not a credential. If it is treated as a credential, it gets lost when there
111
// is a request to refresh the model list.
@@ -293,8 +295,6 @@ module.exports = function (RED) {
293
295
// Now that the do functions have been defined, can now determine what action this node
294
296
// is configured for.
297
- var message = '';
-
298
if (!msg.payload) {
299
message = 'Missing property: msg.payload';
300
node.error(message, msg);
0 commit comments