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

Kiran Kaec6609d58e6
diff --git a/apps/web/lib/zod/schemas/discount.ts b/apps/web/lib/zod/schemas/discount.ts
index 948f5325de..f3da0481b6 100644
--- a/apps/web/lib/zod/schemas/discount.ts
+++ b/apps/web/lib/zod/schemas/discount.ts
@@ -50,16 +50,12 @@ export const discountPartnersQuerySchema = z
}),
);
-// Discount codes
-
export const DiscountCodeSchema = z.object({
id: z.string(),
code: z.string(),
discountId: z.string(),
partnerId: z.string(),
linkId: z.string(),
- createdAt: z.date(),
- updatedAt: z.date(),
});
export const createDiscountCodeSchema = z.object({