فهرست منبع

fix method name

yohei0125 4 سال پیش
والد
کامیت
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) {