Small Updates

This commit is contained in:
Ahmad 2024-08-22 14:43:08 -04:00
parent 0dc31307c7
commit 1bf5d1a1c6
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
2 changed files with 8 additions and 2 deletions

View file

@ -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();

View file

@ -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();