The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
make startMode optional and rely on DB default
Steven Tey087d6cf3e2af
diff --git a/apps/web/lib/zod/schemas/bounties.ts b/apps/web/lib/zod/schemas/bounties.tsindex d6b9e0dfe3..54a579a7f5 100644--- a/apps/web/lib/zod/schemas/bounties.ts+++ b/apps/web/lib/zod/schemas/bounties.ts@@ -121,7 +121,7 @@ export const createBountySchema = z.object({performanceCondition: awardBountyConditionSchema.nullish(),performanceScope: z.enum(BountyPerformanceScope).nullish(),sendNotificationEmails: z.boolean().optional(),- startMode: z.enum(BountyStartMode).default(BountyStartMode.absolute),+ startMode: z.enum(BountyStartMode).optional(),endsAfterDays: z.number().int().positive().nullish(),});