We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2761ab commit d59a2c0Copy full SHA for d59a2c0
collection/app/api/imports/[importId]/route.ts
@@ -2,6 +2,7 @@ import { auth } from "@/auth";
2
import { getItemsInImport } from "@/lib/crud/importCsv";
3
import { NextRequest, NextResponse } from "next/server";
4
5
+/// @ts-expect-error: Weird types
6
export const GET = auth(async (request, { params }: { params?: { importId?: string } }) => {
7
if (!request.auth) {
8
return NextResponse.json(
0 commit comments