chore(#67): Address pr comments

This commit is contained in:
Josh Creek
2026-01-09 18:45:47 +00:00
parent 28bb39d558
commit 07af29e6e6
11 changed files with 538 additions and 335 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ export const GET = async (event) => {
} = event;
const token_hash = url.searchParams.get('token_hash') as string;
const type = url.searchParams.get('type') as EmailOtpType | null;
const next = url.searchParams.get('next') ?? '/';
const next = url.searchParams.get('next') ?? '/welcome';
if (token_hash && type) {
const { error } = await supabase.auth.verifyOtp({ token_hash, type });