Skip to content

Commit

Permalink
Merge pull request #108 from oztu/global_var_fix
Browse files Browse the repository at this point in the history
Fixed mismatched var names (consumes vs contentType)
  • Loading branch information
fehguy committed Aug 6, 2014
2 parents 04fd24c + 6429825 commit 140e912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/swagger.js
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ var SwaggerRequest = function(type, url, params, opts, successCallback, errorCal
SwaggerRequest.prototype.setHeaders = function(params, operation) {
// default type
var accepts = "application/json";
var contentType = null;
var consumes = null;

var allDefinedParams = this.operation.parameters;
var definedFormParams = [];
Expand Down

0 comments on commit 140e912

Please sign in to comment.