Small Updates

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

View file

@ -4,10 +4,7 @@ import { NextResponse } from 'next/server';
import { db } from '@/lib/db'; import { db } from '@/lib/db';
export async function GET( export async function GET({ params }: { params: { cardId: string } }) {
req: Request,
{ params }: { params: { cardId: string } }
) {
try { try {
const { orgId, userId } = auth(); const { orgId, userId } = auth();

View file

@ -3,10 +3,7 @@ import { NextResponse } from 'next/server';
import { db } from '@/lib/db'; import { db } from '@/lib/db';
export async function GET( export async function GET({ params }: { params: { cardId: string } }) {
req: Request,
{ params }: { params: { cardId: string } }
) {
try { try {
const { orgId, userId } = auth(); const { orgId, userId } = auth();