Add parentId condition to findOrganizationIdBySlug (#26729)
This commit is contained in:
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: {
|
||||
|
||||
Reference in new issue
Block a user