From a21db8950f7a0c3e568faf69cb236f21e65fa42f Mon Sep 17 00:00:00 2001 From: Gavin Fogel <46428220+gavinfogel@users.noreply.github.com> Date: Wed, 27 Jul 2022 23:54:01 -0500 Subject: [PATCH] fix(ts): fix jsdoc link to documentation (#5039) --- packages/next-auth/src/next/middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next-auth/src/next/middleware.ts b/packages/next-auth/src/next/middleware.ts index 9702d155e2..a9efb3ec7e 100644 --- a/packages/next-auth/src/next/middleware.ts +++ b/packages/next-auth/src/next/middleware.ts @@ -180,7 +180,7 @@ export type WithAuthArgs = * ``` * * --- - * [Documentation](https://next-auth.js.org/getting-started/middleware) + * [Documentation](https://next-auth.js.org/configuration/nextjs#middleware) */ export function withAuth(...args: WithAuthArgs) { if (!args.length || args[0] instanceof NextRequest) {