From 603b8ff71818926104a6f179cb8234ceb8a66f64 Mon Sep 17 00:00:00 2001 From: alma Date: Wed, 14 Jan 2026 13:54:46 +0100 Subject: [PATCH] Agenda Sync refactor --- app/agenda/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/agenda/page.tsx b/app/agenda/page.tsx index c464ca1..37ce451 100644 --- a/app/agenda/page.tsx +++ b/app/agenda/page.tsx @@ -45,7 +45,7 @@ export default async function CalendarPage() { const userId = session.user.username || session.user.email || ''; // Get all calendars for the user with mission relation - const calendars = await prisma.calendar.findMany({ + let calendars = await prisma.calendar.findMany({ where: { userId: session?.user?.id || '', },