diff --git a/app/api/leantime/tasks/route.ts b/app/api/leantime/tasks/route.ts index debba36a..2940cf74 100644 --- a/app/api/leantime/tasks/route.ts +++ b/app/api/leantime/tasks/route.ts @@ -1,3 +1,4 @@ +import { NextRequest } from "next/server"; import { getServerSession } from "next-auth/next"; import { authOptions } from "@/app/api/auth/[...nextauth]/route"; import { NextResponse } from "next/server"; @@ -58,7 +59,7 @@ async function getLeantimeUserId(email: string): Promise { } } -export async function GET() { +export async function GET(request: NextRequest) { try { const session = await getServerSession(authOptions);