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

Kiran Kd5d16d22159f
diff --git a/apps/web/lib/zod/schemas/bounties.ts b/apps/web/lib/zod/schemas/bounties.ts
index b4a9d33772..d1c3d78d31 100644
--- a/apps/web/lib/zod/schemas/bounties.ts
+++ b/apps/web/lib/zod/schemas/bounties.ts
@@ -7,4 +7,6 @@ export const createBountySchema = z.object({
startsAt: parseDateSchema,
endsAt: parseDateSchema.nullish(),
rewardAmount: z.number().min(0),
+ name: z.string().trim().max(190).nullish(),
+ description: z.string().trim().max(5000).nullish(),
});