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.

fix types

Steven Tey318b50455087
diff --git a/apps/web/lib/zod/schemas/bounties.ts b/apps/web/lib/zod/schemas/bounties.ts
index 6d26fdd001..1ff522602a 100644
--- a/apps/web/lib/zod/schemas/bounties.ts
+++ b/apps/web/lib/zod/schemas/bounties.ts
@@ -71,7 +71,7 @@ export const BountyListSchema = BountySchema.extend({
submissionsCount: z.number().default(0),
});
-export const BountySchemaExtended = BountySchema.extend({
+export const BountySchemaExtended = BountyListSchema.extend({
partners: z.number().default(0),
submissions: z.record(z.nativeEnum(BountySubmissionStatus), z.number()),
performanceCondition: workflowConditionSchema.nullable().default(null),