diff --git a/docs/content/docs/integrations/next.mdx b/docs/content/docs/integrations/next.mdx index caa7903228..93d4ff3f30 100644 --- a/docs/content/docs/integrations/next.mdx +++ b/docs/content/docs/integrations/next.mdx @@ -205,6 +205,7 @@ Be careful when using the new runtime. It's an experimental feature and it may b ```ts import { NextRequest, NextResponse } from "next/server"; +import { headers } from "next/headers"; import { auth } from "@/lib/auth"; export async function middleware(request: NextRequest) {