From e6cf783d5207b9873ce9dc488202355a9270bf22 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Sat, 15 Feb 2014 22:36:01 +0000 Subject: [PATCH] HTTP In GET error handler fix --- nodes/core/io/21-httpin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/core/io/21-httpin.js b/nodes/core/io/21-httpin.js index 5af17fbb7..32073c5bb 100644 --- a/nodes/core/io/21-httpin.js +++ b/nodes/core/io/21-httpin.js @@ -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") {