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 Kf472f8f9b14d
diff --git a/apps/web/lib/zod/schemas/discount.ts b/apps/web/lib/zod/schemas/discount.ts
index cb0797ca2b..e291a67035 100644
--- a/apps/web/lib/zod/schemas/discount.ts
+++ b/apps/web/lib/zod/schemas/discount.ts
@@ -74,7 +74,7 @@ export const createDiscountCodeSchema = z.object({
code: z
.string()
.trim()
- .max(100, "Code must be less than 100 characters.")
+ .max(100, "Code must be 100 characters or fewer.")
.regex(
/^[a-zA-Z0-9\-_]+$/,
"Code can only contain letters, numbers, dashes, and underscores.",