Skip to content

Commit

Permalink
fix(distinct): return full response if full option was specified
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst authored and daprahamian committed Aug 13, 2019
1 parent 3913eaa commit 95a7d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/operations/distinct.js
Expand Up @@ -71,7 +71,7 @@ class DistinctOperation extends CommandOperationV2 {
return;
}

callback(null, result.values);
callback(null, this.options.full ? result : result.values);
});
}
}
Expand Down

0 comments on commit 95a7d05

Please sign in to comment.