Merge branch 'master' into bugfix-suspect-reporting

This commit is contained in:
Kim Gardner
2017-03-01 15:44:51 -05:00
committed by GitHub
@@ -40,7 +40,7 @@ export const postComment = graphql(POST_COMMENT, {
updateQueries: {
AssetQuery: (oldData, {mutationResult:{data:{createComment:{comment}}}}) => {
if (oldData.asset.moderation === 'PRE') {
if (oldData.asset.settings.moderation === 'PRE') {
return oldData;
}