forked from loafle/openapi-generator-original
Remove unused callback param when using promises
This commit is contained in:
@@ -214,6 +214,8 @@
|
||||
request.accept(accept);
|
||||
}
|
||||
|
||||
|
||||
|
||||
request.end(function(error, response) {
|
||||
if (callback) {
|
||||
var data = null;
|
||||
@@ -225,6 +227,7 @@
|
||||
});
|
||||
|
||||
return request;
|
||||
|
||||
};
|
||||
|
||||
ApiClient.parseDate = function parseDate(str) {
|
||||
|
||||
Reference in New Issue
Block a user