mirror of
https://github.com/wassname/talk.git
synced 2026-08-13 12:40:11 +08:00
update tests
This commit is contained in:
@@ -68,6 +68,7 @@ router.get('/comments/flagged', authorization.needed('admin'), (req, res, next)
|
||||
.then(ids => assetIDWrap(Comment.find({
|
||||
id: {$in: ids}
|
||||
})))
|
||||
.then(gatherActionsAndUsers)
|
||||
.then(([comments, users, actions]) => {
|
||||
res.json({comments, users, actions});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user