Explorar el Código

Added a comment

Taichi Masuyama hace 4 años
padre
commit
9d594f0cb9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/app/src/server/service/page-grant.ts

+ 1 - 1
packages/app/src/server/service/page-grant.ts

@@ -348,7 +348,7 @@ class PageGrantService {
     const shouldIncludeNotMigratedPages = true;
 
     const normalizedIds: ObjectIdLike[] = [];
-    const notNormalizedPaths: string[] = [];
+    const notNormalizedPaths: string[] = []; // can be used to tell user which page failed to migrate
 
     await Promise.all(pageIds.map(async(pageId) => {
       const page = await Page.findById(pageId) as any | null;