Browse Source

Fixed type

Taichi Masuyama 4 years ago
parent
commit
e9eb171277
1 changed files with 1 additions and 1 deletions
  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);
   }
 
-  const grantConditions: PipelineStageMatch[] = [
+  const grantConditions: AnyObject[] = [
     { grant: null },
     { grant: GRANT_PUBLIC },
   ];