From ea0a947c732e00dee1653ed80a5d71f5b5cf472c Mon Sep 17 00:00:00 2001 From: Aman Varshney Date: Tue, 25 Mar 2025 00:01:56 +0530 Subject: [PATCH] fix postgres provider in betterauth conf --- .../with-drizzle-postgres/apps/server/src/with-auth-lib/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cli/template/with-drizzle-postgres/apps/server/src/with-auth-lib/auth.ts b/apps/cli/template/with-drizzle-postgres/apps/server/src/with-auth-lib/auth.ts index ed45465..95e289b 100644 --- a/apps/cli/template/with-drizzle-postgres/apps/server/src/with-auth-lib/auth.ts +++ b/apps/cli/template/with-drizzle-postgres/apps/server/src/with-auth-lib/auth.ts @@ -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 || ""],