update tests

This commit is contained in:
Riley Davis committed 2017-01-12 15:25:36 -07:00
1 parent 44b41b031e
commit 0eefd3364b
8 files changed
+25 -11

No files matched your search

+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});
})