mirror of
https://github.com/wassname/talk.git
synced 2026-08-20 12:50:41 +08:00
Implement live updates for mod actions
This commit is contained in:
@@ -215,6 +215,10 @@ module.exports = class CommentsService {
|
||||
}
|
||||
},
|
||||
$set: {status}
|
||||
}, {
|
||||
|
||||
// return modified comment.
|
||||
new: true,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user