Skip to content

Commit

Permalink
update backfill
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Nov 13, 2024
1 parent 942dc4e commit cdfa4e7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 7 additions & 5 deletions apps/web/scripts/backfill-programId.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ import { dubLinksMetadataSchema } from "@/lib/tinybird";
import "dotenv-flow/config";

const enrollmentIds = [
"cm2v7e3780000d1efwh8b63y5",
"cm355n83o0000otvprah7scos",
"cm357actq0001otvpagdxa4r0",
"cm3dwzi320000gm2q3h5382w9",
"cm3fb79kn0000krzb1wms0818",
// "cm2v7e3780000d1efwh8b63y5",
// "cm355n83o0000otvprah7scos",
// "cm357actq0001otvpagdxa4r0",
// "cm3dwzi320000gm2q3h5382w9",
// "cm3fb79kn0000krzb1wms0818",
// "cm3ghlajq00002tvj5b72vvgj",
"cm3ghqh1300012tvjbeyeo5ec",
];

async function main() {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/scripts/backfill-sales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import z from "@/lib/zod";
import { saleEventResponseSchema } from "@/lib/zod/schemas/sales";
import "dotenv-flow/config";

const enrollmentId = "cm3fb79kn0000krzb1wms0818";
const enrollmentId = "cm3ghqh1300012tvjbeyeo5ec";

async function main() {
const programEnrollment = await prisma.programEnrollment.findUnique({
Expand Down
6 changes: 2 additions & 4 deletions packages/utils/src/constants/pricing.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { nFormatter } from "../functions";

const BUSINESS_PLAN_MODIFIER = ({
name = "Business",
monthly = 59,
Expand Down Expand Up @@ -49,9 +47,9 @@ const BUSINESS_PLAN_MODIFIER = ({
},
featureTitle: "Everything in Pro, plus:",
features: [
{ text: `${nFormatter(links, { full: true })} new links/mo` },
{ text: `${Intl.NumberFormat("en-US").format(links)} new links/mo` },
{
text: `${nFormatter(clicks)} tracked clicks/mo`,
text: `${Intl.NumberFormat("en-US").format(clicks)} tracked clicks/mo`,
},
{ text: "3-year analytics retention" },
{ text: `${domains} custom domains` },
Expand Down

0 comments on commit cdfa4e7

Please sign in to comment.