File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 4
4
type DefaultSession ,
5
5
type NextAuthOptions ,
6
6
} from "next-auth" ;
7
+ import { type Adapter } from "next-auth/adapters" ;
7
8
import DiscordProvider from "next-auth/providers/discord" ;
8
9
9
10
import { env } from "~/env" ;
@@ -46,7 +47,7 @@ export const authOptions: NextAuthOptions = {
46
47
} ,
47
48
} ) ,
48
49
} ,
49
- adapter : DrizzleAdapter ( db , mysqlTable ) ,
50
+ adapter : DrizzleAdapter ( db , mysqlTable ) as Adapter ,
50
51
providers : [
51
52
DiscordProvider ( {
52
53
clientId : env . DISCORD_CLIENT_ID ,
Original file line number Diff line number Diff line change 5
5
type DefaultSession ,
6
6
type NextAuthOptions ,
7
7
} from "next-auth" ;
8
+ import { type Adapter } from "next-auth/adapters" ;
8
9
import DiscordProvider from "next-auth/providers/discord" ;
9
10
10
11
import { env } from "~/env" ;
@@ -47,7 +48,7 @@ export const authOptions: NextAuthOptions = {
47
48
} ,
48
49
} ) ,
49
50
} ,
50
- adapter : DrizzleAdapter ( db , mysqlTable ) ,
51
+ adapter : DrizzleAdapter ( db , mysqlTable ) as Adapter ,
51
52
providers : [
52
53
DiscordProvider ( {
53
54
clientId : env . DISCORD_CLIENT_ID ,
You can’t perform that action at this time.
0 commit comments