2 Commits

Author SHA1 Message Date
Benjamin Admin ae31a19275 Merge branch 'main' of ssh://gitea.meghsakha.com:22222/Benjamin_Boenisch/breakpilot-core
Build pitch-deck / build-push-deploy (push) Successful in 1m28s
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-consent (push) Successful in 41s
CI / test-python-voice (push) Successful in 34s
CI / test-bqas (push) Has been cancelled
2026-04-21 17:43:08 +02:00
Benjamin Admin e72b68b4a3 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) <noreply@anthropic.com>
2026-04-21 17:42:51 +02:00
+1 -4
View File
@@ -1,14 +1,11 @@
import { NextRequest, NextResponse } from 'next/server' import { NextRequest, NextResponse } from 'next/server'
import { requireAdmin } from '@/lib/admin-auth'
import pool from '@/lib/db' 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 * POST /api/admin/fp-patch
*/ */
export async function POST(request: NextRequest) { export async function POST(request: NextRequest) {
const guard = await requireAdmin(request)
if (guard.kind === 'response') return guard.response
const results: string[] = [] const results: string[] = []