Taichi Masuyama 4 years ago
parent
commit
8507035631
1 changed files with 4 additions and 4 deletions
  1. 4 4
      packages/app/src/server/service/page.ts

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

@@ -1889,10 +1889,10 @@ class PageService {
       return;
     }
 
-    let normalizedIds;
-    let notNormalizedPaths;
+    let normalizedPages;
+    let nonNormalizedPages;
     try {
-      [normalizedIds, notNormalizedPaths] = await this.crowi.pageGrantService.separateNormalizedAndNonNormalizedPages(pageIds);
+      [normalizedPages, nonNormalizedPages] = await this.crowi.pageGrantService.separateNormalizedAndNonNormalizedPages(pageIds);
     }
     catch (err) {
       throw err;
@@ -1904,7 +1904,7 @@ class PageService {
     }
 
     if (nonNormalizedPages.length !== 0) {
-      // TODO: iterate notNormalizedPaths and send socket error to client so that the user can know which path failed to migrate
+      // TODO: iterate nonNormalizedPages and send socket error to client so that the user can know which path failed to migrate
       // socket.emit('normalizeParentRecursivelyByPageIds', { error: err.message }); TODO: use socket to tell user
     }