mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-01 19:29:33 +00:00
Updated to latest Next.js and ESlint version
This commit is contained in:
parent
862816858c
commit
73dda49ece
11 changed files with 704 additions and 576 deletions
|
@ -6,8 +6,9 @@ import { db } from '@/lib/db';
|
|||
|
||||
export async function GET(
|
||||
req: Request,
|
||||
{ params }: { params: { cardId: string } }
|
||||
props: { params: Promise<{ cardId: string }> }
|
||||
) {
|
||||
const params = await props.params;
|
||||
try {
|
||||
const { orgId, userId } = auth();
|
||||
|
||||
|
|
|
@ -5,8 +5,9 @@ import { db } from '@/lib/db';
|
|||
|
||||
export async function GET(
|
||||
req: Request,
|
||||
{ params }: { params: { cardId: string } }
|
||||
props: { params: Promise<{ cardId: string }> }
|
||||
) {
|
||||
const params = await props.params;
|
||||
try {
|
||||
const { orgId, userId } = auth();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue