Explorar el Código

fix method name

yohei0125 hace 4 años
padre
commit
c575fd9145
Se han modificado 1 ficheros con 1 adiciones y 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) {