From 56768fbf2ca4e89d75ebb488b0f1c4269cf536b4 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 5 Sep 2014 13:19:05 +0100 Subject: [PATCH] HTTP In delete configuration missing errorHandler Fixes #384 --- 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 cf2a00de9..abc2431a7 100644 --- a/nodes/core/io/21-httpin.js +++ b/nodes/core/io/21-httpin.js @@ -82,7 +82,7 @@ module.exports = function(RED) { } else if (this.method == "put") { RED.httpNode.put(this.url,corsHandler,jsonParser,urlencParser,rawBodyParser,this.callback,this.errorHandler); } 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() {