Skip to content

Node.js based forum software built for the modern web

removed this wasn't the problem after all

barisusaklifec84821b73a
diff --git a/src/database/mongo/hash.js b/src/database/mongo/hash.js
index 0766989a2c..43460f421c 100644
--- a/src/database/mongo/hash.js
+++ b/src/database/mongo/hash.js
@@ -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);
});