瀏覽代碼

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(
     [