diff --git a/lib/datastore.js b/lib/datastore.js index cac521e..132330c 100755 --- a/lib/datastore.js +++ b/lib/datastore.js @@ -570,7 +570,7 @@ Datastore.prototype._update = function (query, updateQuery, options, cb) { // Change the docs in memory try { - self.updateIndexes(modifications); + self.updateIndexes(modifications); } catch (err) { return callback(err); } @@ -639,7 +639,4 @@ Datastore.prototype.remove = function () { - - - module.exports = Datastore;