Implement live updates for mod actions

This commit is contained in:
Chi Vinh Le
2017-06-15 01:08:25 +07:00
parent 687b135adf
commit 3658a804b0
22 changed files with 432 additions and 255 deletions
+4
View File
@@ -215,6 +215,10 @@ module.exports = class CommentsService {
}
},
$set: {status}
}, {
// return modified comment.
new: true,
});
}