Skip to content

Commit 30656ae

Browse files
committed
Add lead form sample JSON and update script for lead form data processing
1 parent 872d0b5 commit 30656ae

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

File renamed without changes.

apps/web/scripts/update-referral-form-data.ts renamed to apps/web/scripts/update-lead-form-data.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import { referralFormSchema } from "@/lib/zod/schemas/referral-form";
22
import { prisma } from "@dub/prisma";
3-
import { ACME_PROGRAM_ID } from "@dub/utils";
43
import "dotenv-flow/config";
54
import { readFileSync } from "fs";
65

76
async function main() {
8-
const programId = ACME_PROGRAM_ID;
9-
const jsonFilePath = "./scripts/referral-form-sample.json";
7+
const programId = "prog_1K2J9DRWPPJ2F1RX53N92TSGA";
8+
const jsonFilePath = "./scripts/lead-form-sample.json";
109

1110
// Read and parse JSON file
1211
let formData;

0 commit comments

Comments
 (0)