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.

docs: update .env.example for trigger variables

Brad Barbin6386a154cfc8
diff --git a/.env.example b/.env.example
index 63bb75b67f..d4b7dd7cb3 100644
--- a/.env.example
+++ b/.env.example
@@ -29,11 +29,9 @@ SUPABASE_AUTH_EXTERNAL_GOOGLE_CLIENT_ID="************.apps.googleusercontent.com
SUPABASE_AUTH_EXTERNAL_GOOGLE_CLIENT_SECRET="GOCSPX-****************************"
SUPABASE_AUTH_EXTERNAL_GOOGLE_REDIRECT_URI="http://127.0.0.1:54321/auth/v1/callback"
-TRIGGER_ID="****************************"
-TRIGGER_API_KEY="***********************"
+TRIGGER_SECRET_KEY="tr_dev_********************"
TRIGGER_API_URL="https://api.trigger.dev"
-TRIGGER_PUBLIC_API_KEY="pk_*************"
-TRIGGER_PROJECT_ID="proj_***************"
+TRIGGER_PROJECT_ID="proj_**********************"
UPSTASH_REDIS_REST_URL="https://**.upstash.io"
UPSTASH_REDIS_REST_TOKEN="*******************"
diff --git a/apps/erp/app/routes/api+/webhook.paperless-parts.$companyId.ts b/apps/erp/app/routes/api+/webhook.paperless-parts.$companyId.ts
index 3052d71521..65892d7e65 100644
--- a/apps/erp/app/routes/api+/webhook.paperless-parts.$companyId.ts
+++ b/apps/erp/app/routes/api+/webhook.paperless-parts.$companyId.ts
@@ -1,10 +1,7 @@
import { getCarbonServiceRole } from "@carbon/auth";
import type { paperlessPartsTask } from "@carbon/jobs/trigger/paperless-parts";
import { tasks } from "@trigger.dev/sdk/v3";
-import type {
- LoaderFunctionArgs,
- type ActionFunctionArgs,
-} from "@vercel/remix";
+import type { ActionFunctionArgs, LoaderFunctionArgs } from "@vercel/remix";
import { json } from "@vercel/remix";
import crypto from "crypto";
import { z } from "zod";