From 384c126d9e9e0d0b1c80aedbc7448d3ce13dfb4f Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Fri, 15 Sep 2017 15:29:20 -0600 Subject: [PATCH] added docs --- graph/mutators/comment.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/graph/mutators/comment.js b/graph/mutators/comment.js index f559bebdf..75cad99b7 100644 --- a/graph/mutators/comment.js +++ b/graph/mutators/comment.js @@ -225,6 +225,10 @@ const filterNewComment = async (context, {body, asset_id}) => { ]; }; +/** + * moderationPhases is an array of phases carried out in order until a status is + * returned. + */ const moderationPhases = [ // This phase checks to see if the comment is long enough.