From 59152fe2e3f3192adbc20db0a82eac9b74aee89f Mon Sep 17 00:00:00 2001 From: Nicolas Vargas <111722885+MrUprizing@users.noreply.github.com> Date: Fri, 21 Mar 2025 15:42:09 -0500 Subject: [PATCH] docs: add missing import headers (#1920) --- docs/content/docs/integrations/next.mdx | 1 + 1 file changed, 1 insertion(+) 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) {