1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

HTTP In delete configuration missing errorHandler

Fixes #384
This commit is contained in:
Nick O'Leary 2014-09-05 13:19:05 +01:00
parent 293725afcd
commit 56768fbf2c

View File

@ -82,7 +82,7 @@ module.exports = function(RED) {
} else if (this.method == "put") { } else if (this.method == "put") {
RED.httpNode.put(this.url,corsHandler,jsonParser,urlencParser,rawBodyParser,this.callback,this.errorHandler); RED.httpNode.put(this.url,corsHandler,jsonParser,urlencParser,rawBodyParser,this.callback,this.errorHandler);
} else if (this.method == "delete") { } else if (this.method == "delete") {
RED.httpNode.delete(this.url,corsHandler,this.callback,errorHandler); RED.httpNode.delete(this.url,corsHandler,this.callback,this.errorHandler);
} }
this.on("close",function() { this.on("close",function() {