update tests

This commit is contained in:
Riley Davis
2017-01-12 15:25:36 -07:00
parent 44b41b031e
commit 0eefd3364b
8 changed files with 25 additions and 11 deletions
+1
View File
@@ -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});
})