Explorar o código

Added a comment

Taichi Masuyama %!s(int64=4) %!d(string=hai) anos
pai
achega
9d594f0cb9
Modificáronse 1 ficheiros con 1 adicións e 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;