2
0
Taichi Masuyama 4 жил өмнө
parent
commit
60f59a22c8

+ 2 - 2
packages/app/src/server/service/page.ts

@@ -25,7 +25,7 @@ const {
 const BULK_REINDEX_SIZE = 100;
 const BULK_REINDEX_SIZE = 100;
 
 
 // TODO: improve type
 // TODO: improve type
-class PageOnlyDescendantsIterableFactory {
+class PageCursorsForDescendantsFactory {
 
 
   private user: any; // TODO: Typescriptize model
   private user: any; // TODO: Typescriptize model
 
 
@@ -477,7 +477,7 @@ class PageService {
       return this.renameDescendantsWithStreamV4(targetPage, newPagePath, user, options);
       return this.renameDescendantsWithStreamV4(targetPage, newPagePath, user, options);
     }
     }
 
 
-    const iterableFactory = new PageOnlyDescendantsIterableFactory(user, targetPage, true);
+    const iterableFactory = new PageCursorsForDescendantsFactory(user, targetPage, true);
     const readStream = await iterableFactory.generateReadable();
     const readStream = await iterableFactory.generateReadable();
 
 
     const newPagePathPrefix = newPagePath;
     const newPagePathPrefix = newPagePath;