yohei0125 4 лет назад
Родитель
Сommit
ec2395ba7d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/app/src/server/models/page.ts

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

@@ -375,7 +375,7 @@ schema.statics.getAggrConditionForPageWithProvidedPathAndDescendants = function(
   ];
 };
 
-// update descendantCount of ancestors of path by count
+// update descendantCount of ancestors of the provided path by count
 schema.statics.recountDescendantCountOfAncestors = async function(path:string, count: number):Promise<void> {
   const paths = collectAncestorPaths(path);
   const pages = await this.aggregate([{ $match: { path: { $in: paths } } }]);