Skip to content

Commit

Permalink
Bugfix: Wrong object in postFilter used.
Browse files Browse the repository at this point in the history
  • Loading branch information
rottmann committed Aug 12, 2014
1 parent 4750dca commit aefe97b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/filters/api_param.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function postFilter(parsedFiles, filenames, tagName)
keys = {};
fields.forEach(function(field){
var key = field.field;
if(!fields[key]){
if ( ! keys[key]) {
keys[key] = 1;
newFields.push(field);
}
Expand All @@ -36,7 +36,6 @@ function postFilter(parsedFiles, filenames, tagName)
}
});
});

} // postFilter

/**
Expand Down

0 comments on commit aefe97b

Please sign in to comment.