Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
fix: data typo
Sidwebworks40e6335c1695
diff --git a/apps/erp/app/routes/api+/integrations.onshape.sync.ts b/apps/erp/app/routes/api+/integrations.onshape.sync.tsindex 23a707a7ee..80d4f75d3d 100644--- a/apps/erp/app/routes/api+/integrations.onshape.sync.ts+++ b/apps/erp/app/routes/api+/integrations.onshape.sync.ts@@ -38,7 +38,7 @@ export async function action({ request }: ActionFunctionArgs) {}try {- const data = onShapeDataValidator.parse(JSON.parse(rows as string));+ const parsed = onShapeDataValidator.parse(JSON.parse(rows as string));const serviceRole = await getCarbonServiceRole();const [sync, item] = await Promise.all([@@ -46,7 +46,7 @@ export async function action({ request }: ActionFunctionArgs) {body: {type: "onshape",makeMethodId,- data,+ data: parsed,companyId,userId},