Skip to content

Commit d9a2027

Browse files
spederivacdimitroulas
authored andcommitted
fix bug: Using options in aggregates doesn't set anything
1 parent 75daf18 commit d9a2027

File tree

3 files changed

+510
-508
lines changed

3 files changed

+510
-508
lines changed

lib/aggregate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ Aggregate.prototype.allowDiskUse = function(value) {
564564
*/
565565

566566
Aggregate.prototype.option = function(value) {
567-
for (var key in Object.keys(value)) {
567+
for (var key in value) {
568568
this.options[key] = value[key];
569569
}
570570
return this;

0 commit comments

Comments
 (0)