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 Kccf6c194a4db
diff --git a/apps/web/lib/zod/schemas/bounties.ts b/apps/web/lib/zod/schemas/bounties.tsindex 5234f95eb2..5db1ad94b4 100644--- a/apps/web/lib/zod/schemas/bounties.ts+++ b/apps/web/lib/zod/schemas/bounties.ts@@ -38,7 +38,9 @@ export const createBountySchema = z.object({performanceCondition: workflowConditionSchema.nullish(),});-export const updateBountySchema = createBountySchema;+export const updateBountySchema = createBountySchema.omit({+ type: true,+});export const BountySchema = z.object({id: z.string(),