Add parentId condition to findOrganizationIdBySlug (#26729)

This commit is contained in:
Syed Ali Shahbaz authored and GitHub committed 2026-01-13 03:53:06 +00:00
1 parent a20ad44209
commit 32d97fbea4
1 file changed
+1
@@ -472,6 +472,7 @@ export class TeamRepository {
const org = await this.prismaClient.team.findFirst({
where: {
slug,
parentId: null,
isOrganization: true,
},
select: {