Skip to content

Commit 7ca40f4

Browse files
committed
fix: pin deps to avoid type errors
1 parent d59a2c0 commit 7ca40f4

File tree

3 files changed

+149
-24
lines changed

3 files changed

+149
-24
lines changed

collection/app/api/imports/[importId]/route.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { auth } from "@/auth";
22
import { getItemsInImport } from "@/lib/crud/importCsv";
33
import { NextRequest, NextResponse } from "next/server";
44

5-
/// @ts-expect-error: Weird types
65
export const GET = auth(async (request, { params }: { params?: { importId?: string } }) => {
76
if (!request.auth) {
87
return NextResponse.json(

package-lock.json

Lines changed: 147 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"csv-parse": "^5.5.6",
8383
"mkdirp": "^3.0.1",
8484
"next": "^14.2.30",
85-
"next-auth": "^5.0.0-beta.20",
85+
"next-auth": "5.0.0-beta.20",
8686
"node-imap": "^0.9.6",
8787
"react": "18.3.1",
8888
"react-dom": "18.3.1",
@@ -96,4 +96,4 @@
9696
"nx": {
9797
"includedScripts": []
9898
}
99-
}
99+
}

0 commit comments

Comments
 (0)