mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix http node method-override nls message id
This commit is contained in:
parent
2fe568d9ba
commit
f9e0420647
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user