Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

fix(auth): fix deprecated better-auth database id generation conf (#311)

Corentin Thomasset27c9e39422ac
diff --git a/apps/papra-server/src/modules/app/auth/auth.services.ts b/apps/papra-server/src/modules/app/auth/auth.services.ts
index fc3206b4..86d89e11 100644
--- a/apps/papra-server/src/modules/app/auth/auth.services.ts
+++ b/apps/papra-server/src/modules/app/auth/auth.services.ts
@@ -84,7 +84,7 @@ export function getAuth({
advanced: {
// Drizzle tables handle the id generation
- generateId: false,
+ database: { generateId: false },
},
socialProviders: {
github: {