Skip to content

Commit

Permalink
docs: typo in "unstable_getServerSession" (#5191)
Browse files Browse the repository at this point in the history
fixed a typo
  • Loading branch information
rinuya committed Aug 22, 2022
1 parent 3131971 commit c878012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/configuration/nextjs.md
Expand Up @@ -12,7 +12,7 @@ Otherwise, if you only want to get the session token, see [`getToken`](/tutorial

`unstable_getServerSession` requires passing the same object you would pass to `NextAuth` when initializing NextAuth.js. To do so, you can export your NextAuth.js options in the following way:

In `[...nextauth.js]`:
In `[...nextauth].js`:
```ts
import { NextAuth } from 'next-auth'
import type { NextAuthOptions } from 'next-auth'
Expand Down

1 comment on commit c878012

@vercel
Copy link

@vercel vercel bot commented on c878012 Aug 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.