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