Returning infobox data in stream.

This commit is contained in:
David Jay
2016-12-02 12:26:31 -05:00
parent e6b9cf4b7d
commit 8dad90104d
4 changed files with 15 additions and 11 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ const router = express.Router();
// Pre-moderation: New comments are shown in the moderator queues immediately.
// Post-moderation: New comments do not appear in moderation queues unless they are flagged by other users.
router.get('/comments/pending', (req, res, next) => {
Setting.getModerationSetting().then(({moderation}) =>
Setting.getPublicSettings().then(({moderation}) =>
Comment.moderationQueue(moderation))
.then((comments) => {
return Promise.all([