From 04daeaec81b9f748d4fa2816ba28b4d54895888d Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Fri, 18 Apr 2025 09:41:56 -0600 Subject: [PATCH] Update route.ts --- web/src/app/auth/confirm/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/app/auth/confirm/route.ts b/web/src/app/auth/confirm/route.ts index ce0f84df2..9825fd798 100644 --- a/web/src/app/auth/confirm/route.ts +++ b/web/src/app/auth/confirm/route.ts @@ -6,7 +6,7 @@ import { redirect } from 'next/navigation'; export async function GET(request: NextRequest) { const { searchParams } = new URL(request.url); - const token_hash = searchParams.get('token_hash') || searchParams.get('code'); //THE SUPABASE DOCS ARE WRONG! + const token_hash = searchParams.get('token_hash') || searchParams.get('code'); //THE SUPABASE DOCS ARE WRONG :(! const type = searchParams.get('type') as EmailOtpType | null; const next = searchParams.get('next') ?? '/';