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