mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-23 23:52:05 -05:00
docs: fix wrong import path in Prisma example (#5531)
This commit is contained in:
@@ -131,7 +131,7 @@ Alternatively, if you prefer to use an ORM, you can use one of the built-in adap
|
||||
import { betterAuth } from "better-auth";
|
||||
import { prismaAdapter } from "better-auth/adapters/prisma";
|
||||
// If your Prisma file is located elsewhere, you can change the path
|
||||
import { PrismaClient } from "@/generated/prisma";
|
||||
import { PrismaClient } from "@/generated/prisma/client";
|
||||
|
||||
const prisma = new PrismaClient();
|
||||
export const auth = betterAuth({
|
||||
|
||||
Reference in New Issue
Block a user