Merge branch 'master' into next

This commit is contained in:
Kim Gardner
2017-12-19 11:44:41 -05:00
committed by GitHub
61 changed files with 1366 additions and 656 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ const createComment = async (context, {tags = [], body, asset_id, parent_id = nu
// just added a new comment, hence the counts should be updated. We should
// perform these increments in the event that we do have a new comment that
// is approved or without a comment.
if (status === 'NONE' || status === 'APPROVED') {
if (status === 'NONE' || status === 'ACCEPTED') {
if (parent_id === null) {
Comments.parentCountByAssetID.incr(asset_id);
}