The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Revert seed.ts ID overrides; keep data.json change only
Cursor Agentf73cc5a11747
diff --git a/apps/web/scripts/dev/seed.ts b/apps/web/scripts/dev/seed.tsindex 2b86bbe5d3..0db48d6562 100644--- a/apps/web/scripts/dev/seed.ts+++ b/apps/web/scripts/dev/seed.ts@@ -1,7 +1,6 @@import { createId } from "@/lib/api/create-id";import { hashPassword } from "@/lib/auth/password";import { prisma } from "@/lib/prisma";-import { ACME_PROGRAM_ID, ACME_WORKSPACE_ID } from "@dub/utils";import {Domain,EmailDomain,@@ -137,14 +136,7 @@ type SeedData = {const parseJSON = (): SeedData => {const jsonPath = path.join(__dirname, "data.json");- const jsonData = JSON.parse(fs.readFileSync(jsonPath, "utf-8")) as SeedData;-- // Keep the local Acme seed aligned with the canonical IDs used by e2e- // guards, cleanup jobs, and other Acme-specific helpers.- jsonData.workspace.id = ACME_WORKSPACE_ID;- jsonData.workspace.defaultProgramId = ACME_PROGRAM_ID;- jsonData.program.id = ACME_PROGRAM_ID;-+ const jsonData = JSON.parse(fs.readFileSync(jsonPath, "utf-8"));return jsonData;};