Fix import

This commit is contained in:
Jared Palmer 2023-06-02 09:55:02 -04:00
parent c555ecd259
commit 240b14e7e1

View file

@ -1,10 +1,10 @@
import NextAuth from "@auth/nextjs"; import NextAuth from "@auth/nextjs";
import GitHub from "@auth/nextjs/providers/github"; import GitHub from "@auth/core/providers/github";
import { NextResponse } from "next/server"; import { NextResponse } from "next/server";
export const { export const {
handlers: { GET, POST }, handlers: { GET, POST },
auth, auth,
CSRF_experimental,
} = NextAuth({ } = NextAuth({
// @ts-ignore // @ts-ignore
providers: [GitHub], providers: [GitHub],