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: integration config check
Sidwebworksfe2755f7d5c8
diff --git a/packages/ee/src/fns.ts b/packages/ee/src/fns.tsindex de3da25e49..35577fc3e0 100644--- a/packages/ee/src/fns.ts+++ b/packages/ee/src/fns.ts@@ -48,7 +48,7 @@ export function defineIntegration<T extends IntegrationOptions>(if (!options.name) {throw new Error(`Integration '${options.id}' must have a 'name' defined`);}- if (options.oauth && !options.oauth.clientId) {+ if (options.active && options.oauth && !options.oauth.clientId) {throw new Error(`Integration '${options.id}' has OAuth config but missing clientId`);