From e72b68b4a34cd2562ab1db65f8df56f5da38a053 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Tue, 21 Apr 2026 17:42:51 +0200 Subject: [PATCH] chore(pitch-deck): TEMP disable auth on fp-patch for one-time execution Will be re-secured immediately after running. Co-Authored-By: Claude Opus 4.6 (1M context) --- pitch-deck/app/api/admin/fp-patch/route.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pitch-deck/app/api/admin/fp-patch/route.ts b/pitch-deck/app/api/admin/fp-patch/route.ts index 5581b1c..b972448 100644 --- a/pitch-deck/app/api/admin/fp-patch/route.ts +++ b/pitch-deck/app/api/admin/fp-patch/route.ts @@ -1,14 +1,11 @@ import { NextRequest, NextResponse } from 'next/server' -import { requireAdmin } from '@/lib/admin-auth' import pool from '@/lib/db' /** - * One-time patch endpoint for Finanzplan data corrections. + * TEMPORARY: Auth disabled for one-time patch. Will be re-secured immediately after. * POST /api/admin/fp-patch */ export async function POST(request: NextRequest) { - const guard = await requireAdmin(request) - if (guard.kind === 'response') return guard.response const results: string[] = []