From 945cdfc298f394e31f3003f56ab26091e3662161 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Thu, 4 Oct 2018 22:34:54 +0000 Subject: [PATCH] fix: documentation --- src/core/client/stream/mutations/CreateCommentMutation.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/client/stream/mutations/CreateCommentMutation.ts b/src/core/client/stream/mutations/CreateCommentMutation.ts index f2299938f..d2a23a660 100644 --- a/src/core/client/stream/mutations/CreateCommentMutation.ts +++ b/src/core/client/stream/mutations/CreateCommentMutation.ts @@ -40,6 +40,7 @@ function update(store: RecordSourceSelectorProxy, input: CreateCommentInput) { if (asset) { const record = asset.getLinkedRecord("commentCounts"); if (record) { + // TODO: when we have moderation, we'll need to be careful here. const currentCount = record.getValue("totalVisible"); record.setValue(currentCount + 1, "totalVisible"); }