mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
HTTP In GET error handler fix
This commit is contained in:
parent
eb90d96d65
commit
e6cf783d52
@ -58,7 +58,7 @@ function HTTPIn(n) {
|
||||
else node.send({req:req,res:res});
|
||||
}
|
||||
if (this.method == "get") {
|
||||
RED.app.get(this.url,this.callback,errorHandler);
|
||||
RED.app.get(this.url,this.callback,this.errorHandler);
|
||||
} else if (this.method == "post") {
|
||||
RED.app.post(this.url,jsonParser,urlencParser,rawBodyParser,this.callback,this.errorHandler);
|
||||
} else if (this.method == "put") {
|
||||
|
Loading…
Reference in New Issue
Block a user