Taichi Masuyama 4 лет назад
Родитель
Сommit
b62df03232
1 измененных файлов с 1 добавлено и 2 удалено
  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 {