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 discount.ts

Steven Tey3e2642789dfb
diff --git a/apps/web/lib/zod/schemas/discount.ts b/apps/web/lib/zod/schemas/discount.ts
index e4f98df9d0..b50198b6d5 100644
--- a/apps/web/lib/zod/schemas/discount.ts
+++ b/apps/web/lib/zod/schemas/discount.ts
@@ -2,6 +2,7 @@ import { CommissionInterval, CommissionType } from "@dub/prisma/client";
import { z } from "zod";
export const DiscountSchema = z.object({
+ id: z.string(),
couponId: z.string().nullable(),
couponTestId: z.string().nullable(),
amount: z.number(),