fix(cra): IACE-Create braucht machine_type+manufacturer (binding required)
CreateProjectRequest verlangt machine_name, machine_type UND manufacturer (alle required) → leere Werte gaben 400. Fallback 'Nicht angegeben', wenn das Datenblatt sie nicht liefert (im Interview editierbar). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -64,8 +64,8 @@ export function DatasheetExtract() {
|
|||||||
method: 'POST', headers: { 'Content-Type': 'application/json' },
|
method: 'POST', headers: { 'Content-Type': 'application/json' },
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
machine_name: machineName,
|
machine_name: machineName,
|
||||||
machine_type: limits.machine_type || '',
|
machine_type: limits.machine_type || 'Nicht angegeben',
|
||||||
manufacturer: limits.manufacturer || '',
|
manufacturer: limits.manufacturer || 'Nicht angegeben',
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
if (!cr.ok) return
|
if (!cr.ok) return
|
||||||
|
|||||||
Reference in New Issue
Block a user