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.

Use strict boolean parsing for the all-groups flag.

Kiran K3ae11518aec1
diff --git a/apps/web/lib/zod/schemas/groups.ts b/apps/web/lib/zod/schemas/groups.ts
index f7f29226e7..68d7bda5d2 100644
--- a/apps/web/lib/zod/schemas/groups.ts
+++ b/apps/web/lib/zod/schemas/groups.ts
@@ -158,7 +158,7 @@ export const updateGroupSchema = createGroupSchema.partial().extend({
revenueDataSharingDisabled: z.boolean().optional(),
updateAutoApprovePartnersForAllGroups: z.coerce.boolean().optional(),
updateHoldingPeriodDaysForAllGroups: z.coerce.boolean().optional(),
- updateRevenueDataSharingDisabledForAllGroups: z.coerce.boolean().optional(),
+ updateRevenueDataSharingDisabledForAllGroups: z.boolean().optional(),
moveRules: workflowConditionsSchema.optional(),
});