From dba0c9c6b6859504e00cfb06d949b7442b380753 Mon Sep 17 00:00:00 2001 From: miki55555115 Date: Thu, 28 Mar 2024 16:17:40 +0100 Subject: [PATCH] fix: error with adapter --- app/api/auth/options.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/auth/options.ts b/app/api/auth/options.ts index 432bc33..d0a28c4 100644 --- a/app/api/auth/options.ts +++ b/app/api/auth/options.ts @@ -4,6 +4,7 @@ import { PrismaAdapter } from "@auth/prisma-adapter" import prisma from "@/lib/db" const authOptions: NextAuthOptions = { + // @ts-expect-error adapter: PrismaAdapter(prisma), session: { strategy: "jwt",