Remove unused callback param when using promises

This commit is contained in:
delenius
2016-02-08 23:39:05 -08:00
parent 7301618671
commit aab96ec772
7 changed files with 74 additions and 71 deletions

View File

@@ -173,7 +173,7 @@
ApiClient.prototype.callApi = function callApi(path, httpMethod, pathParams,
queryParams, headerParams, formParams, bodyParam, contentTypes, accepts,
returnType, callback) {
returnType) {
var _this = this;
var url = this.buildUrl(path, pathParams);
var request = superagent(httpMethod, url);