mirror of https://github.com/buster-so/buster.git
Add debug log to refresh route for troubleshooting
Co-authored-by: dallin <dallin@buster.so>
This commit is contained in:
parent
6d90f585cf
commit
b82541c560
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue