From 50a691c1e525454a996dde2f6c99f20b0417e85d Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Sat, 22 Sep 2018 00:50:55 -0600 Subject: [PATCH] fix: removed dead code comment --- src/core/server/models/comment.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/server/models/comment.ts b/src/core/server/models/comment.ts index d1dbe3c0e..c7acd2b61 100644 --- a/src/core/server/models/comment.ts +++ b/src/core/server/models/comment.ts @@ -316,12 +316,6 @@ export async function retrieveCommentParentsConnection( comment: Comment, { last: limit, before: skip = -1 }: { last: number; before?: number } ): Promise>>> { - // // Get the base comment, which stores the references to all it's parents. - // const comment = await retrieveComment(mongo, tenantID, commentID); - // if (!comment) { - // throw new Error("comment not found"); - // } - // Return nothing if this comment does not have any parents. if (!comment.parent_id) { return {