Fix import
This commit is contained in:
parent
c555ecd259
commit
240b14e7e1
1 changed files with 2 additions and 2 deletions
4
auth.ts
4
auth.ts
|
|
@ -1,10 +1,10 @@
|
|||
import NextAuth from "@auth/nextjs";
|
||||
import GitHub from "@auth/nextjs/providers/github";
|
||||
import GitHub from "@auth/core/providers/github";
|
||||
import { NextResponse } from "next/server";
|
||||
|
||||
export const {
|
||||
handlers: { GET, POST },
|
||||
auth,
|
||||
CSRF_experimental,
|
||||
} = NextAuth({
|
||||
// @ts-ignore
|
||||
providers: [GitHub],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue