Explorar o código

fix method name

yohei0125 %!s(int64=4) %!d(string=hai) anos
pai
achega
c575fd9145
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {