From 5a8bf6d08de5654778f38d93c2f08d8871ec9de2 Mon Sep 17 00:00:00 2001 From: Jory Irving Date: Sun, 17 May 2026 20:11:26 -0600 Subject: [PATCH] fix: remove invalid labels include from projects page query labels is a scalar String[] field, not a relation, so it cannot be used in Prisma include. It's automatically included in queries. This fixes the HTTP 500 on the Projects page. --- src/app/projects/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/projects/page.tsx b/src/app/projects/page.tsx index 8abad88..ff5b25a 100644 --- a/src/app/projects/page.tsx +++ b/src/app/projects/page.tsx @@ -9,7 +9,7 @@ export const dynamic = "force-dynamic"; async function getProjects() { const issues = await prisma.issue.findMany({ where: { repository: { enabled: true } }, - include: { repository: true, labels: true }, + include: { repository: true }, }); return {