Letschat / src /app /api /admin /sync-auth /route.ts
HonzaH's picture
Upload 171 files
9853b20 verified
Raw
History Blame Contribute Delete
424 Bytes
import { NextRequest, NextResponse } from 'next/server'
export async function POST(_request: NextRequest) {
// Temporary sync endpoint disabled — removed for safety.
// If you need to run a one-off migration, re-introduce a secure script outside of the app routes.
console.warn('sync-auth route disabled. Remove this file if not needed.')
return NextResponse.json({ error: 'Not found' }, { status: 404 })
}