Skip to content

Commit

Permalink
Fix typo in config key
Browse files Browse the repository at this point in the history
  • Loading branch information
kachar committed Feb 26, 2021
1 parent 2a82601 commit 9347df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/api/auth/[...nextauth].ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9347df4

Please sign in to comment.