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.

ci: force redeploy

Brad Barbind510bf561d59
diff --git a/apps/erp/app/routes/_public+/callback.tsx b/apps/erp/app/routes/_public+/callback.tsx
index 85fa640c62..1784756f04 100644
--- a/apps/erp/app/routes/_public+/callback.tsx
+++ b/apps/erp/app/routes/_public+/callback.tsx
@@ -52,6 +52,7 @@ export async function action({ request }: ActionFunctionArgs) {
const { refreshToken, userId } = validation.data;
const serviceRole = getCarbonServiceRole();
+
const companies = await serviceRole
.from("userToCompany")
.select("companyId")