diff options
| author | Dhravya Shah <[email protected]> | 2024-08-27 11:54:00 -0700 |
|---|---|---|
| committer | Dhravya Shah <[email protected]> | 2024-08-27 11:54:00 -0700 |
| commit | ba3a7b6a80a57a58446752bb3c14586322dfa22e (patch) | |
| tree | eb418fe49604c985737a4896d5d34b7c97b33219 /apps/web/server | |
| parent | fix: editor build issue (diff) | |
| download | supermemory-ba3a7b6a80a57a58446752bb3c14586322dfa22e.tar.xz supermemory-ba3a7b6a80a57a58446752bb3c14586322dfa22e.zip | |
fix: all build errors
Diffstat (limited to 'apps/web/server')
| -rw-r--r-- | apps/web/server/auth.ts | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/web/server/auth.ts b/apps/web/server/auth.ts index 645989fa..690213fe 100644 --- a/apps/web/server/auth.ts +++ b/apps/web/server/auth.ts @@ -1,4 +1,4 @@ -import NextAuth, { NextAuthResult } from "next-auth"; +import NextAuth from "next-auth"; import Google from "next-auth/providers/google"; import { DrizzleAdapter } from "@auth/drizzle-adapter"; import { db } from "./db"; @@ -12,12 +12,7 @@ export const { } = NextAuth({ secret: process.env.BACKEND_SECURITY_KEY, trustHost: true, - adapter: DrizzleAdapter(db, { - usersTable: users, - accountsTable: accounts, - sessionsTable: sessions, - verificationTokensTable: verificationTokens, - }), + adapter: DrizzleAdapter(db), providers: [ Google({ clientId: process.env.GOOGLE_CLIENT_ID, |