docs: fix wrong import path in Prisma example (#5531)

This commit is contained in:
DavidMarioLC
2025-10-25 10:21:57 -05:00
committed by GitHub
parent 070c852440
commit 65ce45322f

View File

@@ -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({