Skip to content

Commit

Permalink
Fixed collection distinct after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeschastny committed Mar 3, 2014
1 parent 48d840e commit 5dcb6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/collection.js
Expand Up @@ -441,7 +441,7 @@ Collection.prototype.distinct = function (field, query, fn) {
// query
debug('%s distinct %s (%j)', this.name, field, query);
promise.query = query;
this.col.distinct(field, query, promise.fulfill);
this.col.distinct(field, query, promise.resolve);

return promise;
};
Expand Down

0 comments on commit 5dcb6f5

Please sign in to comment.