Skip to content

Commit 425b7bf

Browse files
feedback
1 parent 316b685 commit 425b7bf

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/web/src/features/mcp/askCodebase.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@ export const askCodebase = (params: AskCodebaseParams): Promise<AskCodebaseResul
103103

104104
const selectedRepos = (await Promise.all(repos.map(async (repo) => {
105105
const repoDB = await prisma.repo.findFirst({
106-
where: { name: repo },
106+
where: {
107+
name: repo,
108+
orgId: org.id,
109+
},
107110
});
108111
if (!repoDB) {
109112
throw new ServiceErrorException({

0 commit comments

Comments
 (0)