Skip to content

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.

refactor: remove console.log

Brad Barbin1583d0fc1d19
diff --git a/apps/erp/app/routes/api+/model.upload.ts b/apps/erp/app/routes/api+/model.upload.ts
index e4540ed6b7..08698ec712 100644
--- a/apps/erp/app/routes/api+/model.upload.ts
+++ b/apps/erp/app/routes/api+/model.upload.ts
@@ -47,12 +47,10 @@ export async function action({ request }: ActionFunctionArgs) {
}
if (itemId) {
- const result = await client
+ await client
.from("item")
.update({ modelUploadId: modelId })
.eq("id", itemId);
-
- console.log(result);
}
if (salesRfqLineId) {
await client