diff --git a/lib/collection.js b/lib/collection.js index 8e2e30e8..f59fda02 100644 --- a/lib/collection.js +++ b/lib/collection.js @@ -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; };