Merge pull request #196 from SSHari/patch-702

feat: 🎸 filter organization > project > jobs to internal=false
This commit is contained in:
Eric Allam
2023-07-20 10:11:48 +01:00
committed by GitHub
@@ -46,7 +46,11 @@ export function getOrganizations({ userId }: { userId: User["id"] }) {
include: {
_count: {
select: {
jobs: true,
jobs: {
where: {
internal: false,
},
},
},
},
},