From dcc3b75c3b7a96f1c39c05d50321ae04de9b4b64 Mon Sep 17 00:00:00 2001 From: shadcn Date: Tue, 25 Apr 2023 18:46:11 +0400 Subject: [PATCH] fix: remove export --- app/api/auth/[...nextauth]/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/auth/[...nextauth]/route.ts b/app/api/auth/[...nextauth]/route.ts index f320b5c..8bf0301 100644 --- a/app/api/auth/[...nextauth]/route.ts +++ b/app/api/auth/[...nextauth]/route.ts @@ -1,7 +1,7 @@ import NextAuth, { NextAuthOptions } from "next-auth" import GitHubProvider from "next-auth/providers/github" -export const authOptions: NextAuthOptions = { +const authOptions: NextAuthOptions = { providers: [ GitHubProvider({ clientId: process.env.GITHUB_CLIENT_ID || "",