fix: prevent cross-team app visibility in organizations (#23085)

This commit is contained in:
Anik Dhabal Babu authored and GitHub committed 2025-08-14 11:50:30 +00:00
1 parent a784af3e47
commit d9817fcb07
1 file changed
+1
+1
View File
@@ -72,6 +72,7 @@ export async function getConnectedApps({
if (includeTeamInstalledApps || teamId) {
const teamsQuery = await prisma.team.findMany({
where: {
...(teamId ? { id: teamId } : {}),
members: {
some: {
userId: user.id,