Taichi Masuyama il y a 4 ans
Parent
commit
2a81475cb6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/app/src/server/models/page.ts

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

@@ -377,7 +377,7 @@ export const generateGrantConditions = async(
     userGroups = await UserGroupRelation.findAllUserGroupIdsRelatedToUser(user);
     userGroups = await UserGroupRelation.findAllUserGroupIdsRelatedToUser(user);
   }
   }
 
 
-  const grantConditions: {[key:string]: any | number | null}[] = [
+  const grantConditions: PipelineStageMatch[] = [
     { grant: null },
     { grant: null },
     { grant: GRANT_PUBLIC },
     { grant: GRANT_PUBLIC },
   ];
   ];