From b82541c560d1f3af35a04f8cc739536a91c5cbf4 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 30 Jun 2025 23:53:18 +0000 Subject: [PATCH] Add debug log to refresh route for troubleshooting Co-authored-by: dallin --- web/src/app/api/auth/refresh/route.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/app/api/auth/refresh/route.ts b/web/src/app/api/auth/refresh/route.ts index 9ff0842e8..2b8185377 100644 --- a/web/src/app/api/auth/refresh/route.ts +++ b/web/src/app/api/auth/refresh/route.ts @@ -4,6 +4,8 @@ import { type NextRequest, NextResponse } from 'next/server'; import { getSupabaseUserContext } from '@/lib/supabase'; export async function POST(request: NextRequest) { + console.log('hello world'); + // Parse the request body to get minutesUntilExpiration const body = await request.json().catch(() => ({})); const preemptiveRefreshMinutes = (body.preemptiveRefreshMinutes || 5) as number;