Procházet zdrojové kódy

Fixed to not pass unexpected args to createEmptyPagesByPaths

Taichi Masuyama před 3 roky
rodič
revize
605f3aaaaf
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/app/src/server/service/page.ts

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

@@ -2861,7 +2861,7 @@ class PageService {
           { path: { $nin: publicPathsToNormalize }, status: Page.STATUS_PUBLISHED },
           { path: { $nin: publicPathsToNormalize }, status: Page.STATUS_PUBLISHED },
         ];
         ];
         const filterForApplicableAncestors = { $or: orFilters };
         const filterForApplicableAncestors = { $or: orFilters };
-        await createEmptyPagesByPaths(parentPaths, user, false, true, filterForApplicableAncestors);
+        await createEmptyPagesByPaths(parentPaths, user, false, filterForApplicableAncestors);
 
 
         // 3. Find parents
         // 3. Find parents
         const addGrantCondition = (builder) => {
         const addGrantCondition = (builder) => {