mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
added to update operation, required by mongojs 3.x
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user