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

+ 1 - 1
packages/app/src/server/service/page.js

@@ -1039,7 +1039,7 @@ class PageService {
 
     // update descendantCount of all public pages
     try {
-      await this.updateSelfAndDescendantCount('/');
+      await this.updateDescendantCountOfSelfAndDescendants('/');
       logger.info('Successfully updated all descendantCount of public pages.');
     }
     catch (err) {