From 1bf5d1a1c6162bdef2e1511552a4aaf2252a6f60 Mon Sep 17 00:00:00 2001 From: Ahmad <103906421+ahmadk953@users.noreply.github.com> Date: Thu, 22 Aug 2024 14:43:08 -0400 Subject: [PATCH] Small Updates --- app/api/cards/[cardId]/logs/route.ts | 5 ++++- app/api/cards/[cardId]/route.ts | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/api/cards/[cardId]/logs/route.ts b/app/api/cards/[cardId]/logs/route.ts index 74e1c11..512d24e 100644 --- a/app/api/cards/[cardId]/logs/route.ts +++ b/app/api/cards/[cardId]/logs/route.ts @@ -4,7 +4,10 @@ import { NextResponse } from 'next/server'; import { db } from '@/lib/db'; -export async function GET({ params }: { params: { cardId: string } }) { +export async function GET( + req: Request, + { params }: { params: { cardId: string } } +) { try { const { orgId, userId } = auth(); diff --git a/app/api/cards/[cardId]/route.ts b/app/api/cards/[cardId]/route.ts index f72e094..b88e319 100644 --- a/app/api/cards/[cardId]/route.ts +++ b/app/api/cards/[cardId]/route.ts @@ -3,7 +3,10 @@ import { NextResponse } from 'next/server'; import { db } from '@/lib/db'; -export async function GET({ params }: { params: { cardId: string } }) { +export async function GET( + req: Request, + { params }: { params: { cardId: string } } +) { try { const { orgId, userId } = auth();