Skip to content

Commit

Permalink
Link error fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cdoss-lifesize committed Jun 20, 2020
1 parent e81bec7 commit 07de942
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions index.js
Expand Up @@ -50,8 +50,7 @@ TestRail.prototype._callAPI = function (method, url, queryVariables, body, callb
headers: {
'content-type': 'application/json',
'accept': 'application/json'
},
rejectUnauthorized: false
}
};

if(body != null) {
Expand Down Expand Up @@ -290,8 +289,8 @@ TestRail.prototype.getReports = function (project_id, callback) {
return this.apiGet('get_reports/' + project_id, callback);
};

TestRail.prototype.runReport = function (report_template_id, callback) {
return this.apiGet('run_report/' + report_template_id, callback);
TestRail.prototype.runReport = function (report_id, callback) {
return this.apiGet('run_report/' + report_id, callback);
};

// ----- Results -----
Expand Down

0 comments on commit 07de942

Please sign in to comment.