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.

code improvements

Pedro Ladeira6fe27559cb07
diff --git a/apps/web/lib/zod/schemas/partners.ts b/apps/web/lib/zod/schemas/partners.ts
index f114323c30..372f56cc51 100644
--- a/apps/web/lib/zod/schemas/partners.ts
+++ b/apps/web/lib/zod/schemas/partners.ts
@@ -646,7 +646,7 @@ export const partnerMergedWebhookSchema = z.object({
"Whether the surviving partner was already enrolled in this program before the merge. If `true`, the workspace had both partners and should collapse the source into the target. If `false`, only the source was enrolled and its Dub partner ID changed.",
),
source: partnerMergedAccountSchema.describe(
- "The partner account that was merged away. Its ID no longer exists.",
+ "The partner account that was merged away. Its enrollment in this program no longer exists; use `target.id` instead.",
),
target: partnerMergedAccountSchema.describe(
"The surviving partner account. `tenantId` is the post-merge value for this program.",