diff --git a/packages/nextjs/src/ssr/utils/authenticateRequest.ts b/packages/nextjs/src/ssr/utils/authenticateRequest.ts index 60621c2907..7b53eb27b3 100644 --- a/packages/nextjs/src/ssr/utils/authenticateRequest.ts +++ b/packages/nextjs/src/ssr/utils/authenticateRequest.ts @@ -6,7 +6,7 @@ import type { WithServerSideAuthOptions } from '../types'; /** * @internal */ -export async function authenticateRequest(ctx: GetServerSidePropsContext, opts: WithServerSideAuthOptions = {}) { +export function authenticateRequest(ctx: GetServerSidePropsContext, opts: WithServerSideAuthOptions = {}) { const { headers, cookies } = ctx.req; const cookieToken = cookies['__session'];