The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update bounties.ts
Kiran K2e6f61373f1d
diff --git a/apps/web/lib/zod/schemas/bounties.ts b/apps/web/lib/zod/schemas/bounties.tsindex 1ff522602a..68e2a6365c 100644--- a/apps/web/lib/zod/schemas/bounties.ts+++ b/apps/web/lib/zod/schemas/bounties.ts@@ -43,9 +43,11 @@ export const createBountySchema = z.object({performanceCondition: workflowConditionSchema.nullish(),});-export const updateBountySchema = createBountySchema.omit({- type: true,-});+export const updateBountySchema = createBountySchema+ .omit({+ type: true,+ })+ .partial();export const BountySubmissionFileSchema = z.object({url: z.string(),