mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
fixed mongodb 3.x change requiring
This commit is contained in:
@@ -50,7 +50,7 @@ module.exports = ThreadManager = {
|
||||
}
|
||||
}
|
||||
|
||||
return db.rooms.update(query, update, { upsert: true }, function(error) {
|
||||
return db.rooms.update(query, {'$set' : update}, { upsert: true }, function(error) {
|
||||
if (error != null) {
|
||||
return callback(error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user