HTTP In GET error handler fix

This commit is contained in:
Nick O'Leary 2014-02-15 22:36:01 +00:00
parent eb90d96d65
commit e6cf783d52
1 changed files with 1 additions and 1 deletions

View File

@ -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") {