feat(F-131): completed feature

This commit is contained in:
chattie
2026-08-21 17:50:31 +02:00
parent f37333bb56
commit e5126797a6
10 changed files with 229 additions and 15 deletions

View File

@@ -0,0 +1,16 @@
{
"verdict": "APPROVED",
"reviewer": "reviewer",
"feature_id": "F-131",
"summary": "Fix mínimo y crítico en proxy catch-all: reenvío de query string al backend.",
"checks": [
"apps/admin/src/app/api/[...path]/route.ts — 5 handlers (GET, POST, PATCH, PUT, DELETE) actualizados",
"Cada handler extrae req.nextUrl.search y lo concatena a la URL del backend",
"tsc --noEmit exit 0",
"npm run build exit 0",
"Bundle compilado contiene fetch(`${API}/${path}${search}`) en los 5 handlers",
"No se modificaron rutas más específicas (/api/auth/*, /api/upload)"
],
"notes": "El bug afectaba también a /inventory (F-126) y a cualquier endpoint con query params. El fix es transversal.",
"reviewed_at": "2026-08-21T15:50:00Z"
}