2
0
Taichi Masuyama 4 жил өмнө
parent
commit
b62df03232

+ 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 {