mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fixed mongodb 3.x change requiring
This commit is contained in:
parent
9bbc8c7483
commit
3eb217402b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue