removed this wasn't the problem after all

v1.18.x
barisusakli 10 years ago
parent 762b2fff37
commit fec84821b7

@ -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);
});

Loading…
Cancel
Save