mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
added to update operation, required by mongojs 3.x
This commit is contained in:
parent
682fd526c0
commit
7183b88a37
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ module.exports = Notifications = {
|
|||
}
|
||||
return db.notifications.update(
|
||||
{ user_id: doc.user_id, key: notification.key },
|
||||
doc,
|
||||
{ $set : doc },
|
||||
{ upsert: true },
|
||||
callback
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue