Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update programs.ts

Kiran K242e1ec10357
diff --git a/apps/web/lib/zod/schemas/programs.ts b/apps/web/lib/zod/schemas/programs.ts
index 4e185ec99c..82dbbbbd85 100644
--- a/apps/web/lib/zod/schemas/programs.ts
+++ b/apps/web/lib/zod/schemas/programs.ts
@@ -7,16 +7,16 @@ import {
PartnerBannedReason,
ProgramEnrollmentStatus,
} from "@dub/prisma/client";
+import { COUNTRY_CODES } from "@dub/utils";
import { z } from "zod";
import { DiscountSchema } from "./discount";
import { GroupSchema } from "./groups";
import { LinkSchema } from "./links";
+import { programApplicationFormDataWithValuesSchema } from "./program-application-form";
import { programLanderSchema } from "./program-lander";
import { RewardSchema } from "./rewards";
import { UserSchema } from "./users";
import { parseDateSchema } from "./utils";
-import { COUNTRY_CODES } from "@dub/utils";
-import { programApplicationFormDataWithValuesSchema } from "./program-application-form";
export const HOLDING_PERIOD_DAYS = [0, 7, 14, 30, 60, 90];
@@ -84,7 +84,6 @@ export const ProgramPartnerLinkSchema = LinkSchema.pick({
conversions: true,
sales: true,
saleAmount: true,
- couponCode: true,
});
export const ProgramEnrollmentSchema = z.object({