Skip to content

Commit

Permalink
Merge pull request #7950 from cdimitroulas/backport-aggregate-options…
Browse files Browse the repository at this point in the history
…-bugfix

Backport aggregate options bugfix from #6011
  • Loading branch information
vkarpov15 authored Jul 2, 2019
2 parents 75daf18 + b10cc98 commit 2aeeaa8
Show file tree
Hide file tree
Showing 3 changed files with 509 additions and 507 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 2aeeaa8

Please sign in to comment.