Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowonpaper committed Oct 7, 2024
1 parent fde9702 commit 9cacd30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/tutorials/github-oauth/nextjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export async function GET(request: Request): Promise<Response> {

## Validate requests

Use the `getCurrentUser()` function from the [Session cookies in Astro](/sessions/cookies/astro) page to get the current user and session.
Use the `getCurrentUser()` function from the [Session cookies in Next.js](/sessions/cookies/nextjs) page to get the current user and session.

```tsx
import { redirect } from "next/navigation";
Expand Down

0 comments on commit 9cacd30

Please sign in to comment.