mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 00:53:37 +00:00
Small Updates
This commit is contained in:
parent
0dc31307c7
commit
1bf5d1a1c6
2 changed files with 8 additions and 2 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue