From be944e51dab83630baef65079a8bce514e71be56 Mon Sep 17 00:00:00 2001 From: Dominik Stahl Date: Sun, 29 Jun 2025 19:10:05 +0200 Subject: [PATCH] feat(calendar): hide declined events --- src/app/api/calendar/route.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/api/calendar/route.ts b/src/app/api/calendar/route.ts index fa6dd47..20662be 100644 --- a/src/app/api/calendar/route.ts +++ b/src/app/api/calendar/route.ts @@ -72,6 +72,9 @@ export const GET = auth(async function GET(req) { gte: start, }, }, + status: { + not: 'DECLINED', + } }, orderBy: { meeting: {