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

Kiran Kc45ec5167446
diff --git a/apps/web/lib/zod/schemas/partners.ts b/apps/web/lib/zod/schemas/partners.ts
index 3dc49654e8..e757cf1a87 100644
--- a/apps/web/lib/zod/schemas/partners.ts
+++ b/apps/web/lib/zod/schemas/partners.ts
@@ -587,7 +587,7 @@ export const partnerPayoutSettingsSchema = z.object({
taxId: z.string().max(100).trim().nullish(),
minWithdrawalAmount: z.coerce
.number()
- .min(0, "Minimum withdrawal amount must be greater than 0.")
+ .min(1000, "Minimum withdrawal amount must be greater than $10.")
.default(10000)
.refine((val) => MINIMUM_WITHDRAWAL_AMOUNTS.includes(val), {
message: `Minimum withdrawal amount must be one of ${MINIMUM_WITHDRAWAL_AMOUNTS.join(", ")}`,