fix postgres provider in betterauth conf

This commit is contained in:
Aman Varshney
2025-03-25 00:01:56 +05:30
parent bf0db960be
commit ea0a947c73

View File

@@ -5,7 +5,7 @@ import * as schema from "../db/schema/auth";
export const auth = betterAuth({
database: drizzleAdapter(db, {
provider: "pg",
provider: "postgresql",
schema: schema,
}),
trustedOrigins: [process.env.CORS_ORIGIN || ""],