yohei0125 3 lat temu
rodzic
commit
06f2e84add

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

@@ -29,7 +29,7 @@ class PageOperationService {
     await this.executeAllRenameOperationBySystem();
     await this.executeAllRenameOperationBySystem();
   }
   }
 
 
-  // サーバー起動時にDBに残っている actionType が Rename の PageOperation をすべて、createdAt の古いものから順番に実行
+  // execute renameSubOperation on every page operation order by ASC
   async executeAllRenameOperationBySystem(): Promise<void> {
   async executeAllRenameOperationBySystem(): Promise<void> {
     const Page = this.crowi.model('Page');
     const Page = this.crowi.model('Page');
 
 
@@ -43,7 +43,7 @@ class PageOperationService {
 
 
       const renamedPage = await Page.findById(pageOp.page._id);
       const renamedPage = await Page.findById(pageOp.page._id);
 
 
-      // rename 実行
+      // rename
       await this.crowi.pageService.renameSubOperation(page, toPath, user, options, renamedPage, pageOp._id);
       await this.crowi.pageService.renameSubOperation(page, toPath, user, options, renamedPage, pageOp._id);
     }
     }
   }
   }