mutations and queries, lint errors

This commit is contained in:
Belen Curcio
2017-01-20 17:59:28 -03:00
parent ae29d65c75
commit 2615db8575
6 changed files with 57 additions and 69 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ const createPublicComment = (context, commentInput) => {
// If the comment was flagged as being suspect, we need to add a
// flag to it to indicate that it needs to be looked at.
// Otherwise just return the new comment.
if (wordlist != null && wordlist.suspect) {
if (wordlist !== null && wordlist.suspect) {
// TODO: this is kind of fragile, we should refactor this to resolve
// all these const's that we're using like 'comments', 'flag' to be