Skip to content

Commit f47eaf6

Browse files
authored
Merge pull request #2768 from trycompai/chas/people-total-number
CS-360 On overview page, total number of people is wrong
2 parents 84da90c + ed9561f commit f47eaf6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

apps/api/src/frameworks/frameworks-scores.helper.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ export async function getOverviewScores(organizationId: string) {
2020
}),
2121
db.task.findMany({ where: { organizationId, archivedAt: null } }),
2222
db.member.findMany({
23-
where: { organizationId, deactivated: false },
23+
where: {
24+
organizationId,
25+
deactivated: false,
26+
isActive: true,
27+
},
2428
include: { user: true },
2529
}),
2630
db.onboarding.findUnique({

0 commit comments

Comments
 (0)