From 9347df4e6f8e11ffefbf39188d0a7f0244e31aab Mon Sep 17 00:00:00 2001 From: Ilko Kacharov Date: Fri, 26 Feb 2021 10:27:13 +0200 Subject: [PATCH] Fix typo in config key --- src/pages/api/auth/[...nextauth].ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/api/auth/[...nextauth].ts b/src/pages/api/auth/[...nextauth].ts index 2a55a871b..3c0cd9bd5 100644 --- a/src/pages/api/auth/[...nextauth].ts +++ b/src/pages/api/auth/[...nextauth].ts @@ -3,7 +3,7 @@ import getConfig from 'next/config' import Providers from 'next-auth/providers' const { - publicRuntimeConfig: { DISCORD_CLIENT_ID, DISCORD_CLIENT_SECRET, JWT_SECRET }, + serverRuntimeConfig: { DISCORD_CLIENT_ID, DISCORD_CLIENT_SECRET, JWT_SECRET }, } = getConfig() // eslint-disable-next-line @typescript-eslint/ban-ts-comment