Skip to content

Commit

Permalink
test: fix tests re: #8691
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Mar 28, 2020
1 parent 055b75d commit c41c638
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -2617,6 +2617,7 @@ Query.prototype.sort = function(arg) {
*/

Query.prototype.remove = function(filter, callback) {
this.op = 'remove';
if (typeof filter === 'function') {
callback = filter;
filter = null;
Expand Down

0 comments on commit c41c638

Please sign in to comment.