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

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

@@ -375,8 +375,7 @@ class PageGrantService {
         continue;
       }
 
-      const isNormalized = await this.isGrantNormalized(path, grant, grantedUserIds, grantedGroupId, shouldCheckDescendants, shouldIncludeNotMigratedPages);
-      if (isNormalized) {
+      if (await this.isGrantNormalized(path, grant, grantedUserIds, grantedGroupId, shouldCheckDescendants, shouldIncludeNotMigratedPages)) {
         normalizable.push(page);
       }
       else {