소스 검색

add comment

yohei0125 4 년 전
부모
커밋
a94d7535bb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/app/src/server/models/page.ts

+ 1 - 1
packages/app/src/server/models/page.ts

@@ -390,7 +390,7 @@ schema.statics.recountDescendantCountOfAncestors = async function(path:string, c
   await this.bulkWrite(operations);
 };
 
-// update descendantCount of page with provided id
+// update descendantCount of a page with provided id
 schema.statics.recountDescendantCountOfSelfAndDescendants = async function(id:mongoose.Types.ObjectId):Promise<void> {
   const res = await this.aggregate(
     [