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

Tim Wilson4aa237782e0c
diff --git a/apps/web/lib/zod/schemas/customers.ts b/apps/web/lib/zod/schemas/customers.ts
index 1d516a322c..1134beea89 100644
--- a/apps/web/lib/zod/schemas/customers.ts
+++ b/apps/web/lib/zod/schemas/customers.ts
@@ -118,7 +118,7 @@ export const CustomerSchema = z.object({
.number()
.nullish()
.describe("Total amount of sales for the customer."),
- createdAt: z.date().nullish().describe("The date the customer was created."),
+ createdAt: z.date().describe("The date the customer was created."),
});
// An extended schema that includes the customer's link, partner, and discount.