diff --git a/apps/web/app/api/v1/client/people/getOrCreate/route.ts b/apps/web/app/api/v1/client/people/getOrCreate/route.ts index 156949f689..1b3de716fa 100644 --- a/apps/web/app/api/v1/client/people/getOrCreate/route.ts +++ b/apps/web/app/api/v1/client/people/getOrCreate/route.ts @@ -20,6 +20,7 @@ export async function GET(req: Request): Promise { const person = await prisma.person.findFirst({ where: { + environmentId, attributes: { some: { attributeClass: {