Fix bug
This commit is contained in:
parent
caa8aee7a0
commit
9f81288fcc
48 changed files with 91 additions and 140 deletions
|
|
@ -37,7 +37,7 @@ module.exports = (params, user) =>
|
|||
|
||||
// Update
|
||||
notification.is_read = true;
|
||||
Notification.updateOne({ _id: notification._id }, {
|
||||
Notification.update({ _id: notification._id }, {
|
||||
$set: {
|
||||
is_read: true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue