diff --git a/src/lib/utils/member.ts b/src/lib/utils/member.ts index b757c8e55..348a0ac9a 100644 --- a/src/lib/utils/member.ts +++ b/src/lib/utils/member.ts @@ -39,12 +39,12 @@ export const getCustomAuthorOptions = async ( }); }; -export type MemberDoorPolicies = { +export type MemberDoorPolicies = Array<{ name: string; roles: string[]; startDate: Date | null; endDate: Date | null; -}[]; +}>; export const getCurrentDoorPoliciesForMember = async ( prisma: PrismaClient,