Skip to content

Commit

Permalink
ocd.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorribas committed Aug 19, 2014
1 parent 79319b4 commit b5c140c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ Collection.prototype.save = function() {
// The third parameter is a faked lastErrorObject
fn(err, doc, { n : 0});
}
}
};
this._apply(DriverCollection.save, replaceCallback(arguments, callback));
};

Expand All @@ -301,7 +301,7 @@ Collection.prototype.runCommand = function(cmd, opts, callback) {
opts = opts || {};
if (typeof opts === 'function') {
callback = opts;
};
}
this._get(function(err, collection) {
if (err) return callback(err);
var commandObject = {};
Expand Down Expand Up @@ -507,7 +507,7 @@ var connect = function(config, collections) {
});

return p;
};
}
return that;
};

Expand Down

0 comments on commit b5c140c

Please sign in to comment.