fix: update prisma import paths and adjust .gitignore for generated files
This commit is contained in:
parent
8ef0ea17d4
commit
514254b407
5 changed files with 8 additions and 7 deletions
|
@ -36,7 +36,7 @@ export const providerMap = providers
|
|||
.filter((provider) => provider.id !== 'credentials');
|
||||
|
||||
export const { handlers, signIn, signOut, auth } = NextAuth({
|
||||
providers: [],
|
||||
providers,
|
||||
adapter: PrismaAdapter(prisma),
|
||||
session: {
|
||||
strategy: 'jwt',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { PrismaClient } from "@prisma/client"
|
||||
import { PrismaClient } from "@/generated/prisma"
|
||||
|
||||
const globalForPrisma = globalThis as unknown as { prisma: PrismaClient }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue