removed this wasn't the problem after all

This commit is contained in:
barisusakli
2014-10-16 20:03:22 -04:00
parent 762b2fff37
commit fec84821b7

View File

@@ -10,7 +10,7 @@ module.exports = function(db, module) {
if (!key) {
return callback();
}
data._key = key;
db.collection('objects').update({_key: key}, {$set: data}, {upsert: true, w: 1}, function(err) {
callback(err);
});