fix: removed dead code comment

This commit is contained in:
Wyatt Johnson
2018-09-22 00:50:55 -06:00
parent 32fdc51506
commit 50a691c1e5
-6
View File
@@ -316,12 +316,6 @@ export async function retrieveCommentParentsConnection(
comment: Comment,
{ last: limit, before: skip = -1 }: { last: number; before?: number }
): Promise<Readonly<Connection<Readonly<Comment>>>> {
// // 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 {