Merge branch 'master' into bugfix-suspect-reporting

This commit is contained in:
Kim Gardner authored and GitHub committed 2017-03-01 15:44:51 -05:00
commit 09eb2edb32
1 file changed
+1 -1
@@ -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;
}