Skip to content

Commit

Permalink
fix bug: Using options in aggregates doesn't set anything
Browse files Browse the repository at this point in the history
  • Loading branch information
spederiva authored and cdimitroulas committed Jul 2, 2019
1 parent 75daf18 commit d9a2027
Show file tree
Hide file tree
Showing 3 changed files with 510 additions and 508 deletions.
2 changes: 1 addition & 1 deletion lib/aggregate.js
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ Aggregate.prototype.allowDiskUse = function(value) {
*/

Aggregate.prototype.option = function(value) {
for (var key in Object.keys(value)) {
for (var key in value) {
this.options[key] = value[key];
}
return this;
Expand Down
Loading

0 comments on commit d9a2027

Please sign in to comment.