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 Kccf6c194a4db
diff --git a/apps/web/lib/zod/schemas/bounties.ts b/apps/web/lib/zod/schemas/bounties.ts
index 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(),