Skip to content

Commit

Permalink
fix: After parameter for meetingCount was ignored (#9479)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dschoordsch committed Feb 29, 2024
1 parent ba67da8 commit 052acd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/graphql/public/types/Company.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const Company: CompanyResolvers = {
const teams = await getTeamsByOrgIds(orgIds, dataLoader, true)
const teamIds = teams.map(({id}) => id)
if (teamIds.length === 0) return 0
const filterFn = after ? () => true : (meeting: any) => meeting('createdAt').ge(after)
const filterFn = after ? (meeting: any) => meeting('createdAt').ge(after) : () => true
return r
.table('NewMeeting')
.getAll(r.args(teamIds), {index: 'teamId'})
Expand Down

0 comments on commit 052acd1

Please sign in to comment.