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: broken base64 images
Brad Barbin99fb1406ae25
diff --git a/apps/erp/app/modules/shared/shared.service.ts b/apps/erp/app/modules/shared/shared.service.tsindex 8b47e3164e..8c355bd5bd 100644--- a/apps/erp/app/modules/shared/shared.service.ts+++ b/apps/erp/app/modules/shared/shared.service.ts@@ -23,7 +23,7 @@ export async function getBase64ImageFromSupabase() {function arrayBufferToBase64(buffer: ArrayBuffer): string {const binary = String.fromCharCode(...new Uint8Array(buffer));- return Buffer.from(binary).toString("base64");+ return btoa(binary);}const { data, error } = await client.storage.from("private").download(path);