Fix http node method-override nls message id

This commit is contained in:
Nick O'Leary 2015-08-31 16:03:32 +01:00
parent 2fe568d9ba
commit f9e0420647
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ module.exports = function(RED) {
var method = nodeMethod.toUpperCase() || "GET";
if (msg.method && n.method && (n.method !== "use")) { // warn if override option not set
node.warn(RED._("httpin.errors.not-overridden"));
node.warn(RED._("common.errors.nooverride"));
}
if (msg.method && n.method && (n.method === "use")) {
method = msg.method.toUpperCase(); // use the msg parameter