diff --git a/lib/jira.js b/lib/jira.js index 190e2661..9c1bbdf9 100644 --- a/lib/jira.js +++ b/lib/jira.js @@ -1860,7 +1860,7 @@ var JiraApi = exports.JiraApi = function(protocol, host, port, username, passwor body: webhook }; - this.request(options, function(error, response, body) { + this.doRequest(options, function(error, response, body) { if (error) { callback(error, null); @@ -1910,7 +1910,7 @@ var JiraApi = exports.JiraApi = function(protocol, host, port, username, passwor json: true }; - this.request(options, function(error, response, body) { + this.doRequest(options, function(error, response, body) { if (error) { callback(error, null); @@ -1946,7 +1946,7 @@ var JiraApi = exports.JiraApi = function(protocol, host, port, username, passwor json: true }; - this.request(options, function(error, response, body) { + this.doRequest(options, function(error, response, body) { if (error) { callback(error, null); @@ -1982,7 +1982,7 @@ var JiraApi = exports.JiraApi = function(protocol, host, port, username, passwor json: true }; - this.request(options, function(error, response, body) { + this.doRequest(options, function(error, response, body) { if (error) { callback(error, null);