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 tests

Steven Teybb879de78df4
diff --git a/apps/web/lib/webhook/sample-events/partner-enrolled.json b/apps/web/lib/webhook/sample-events/partner-enrolled.json
index bc5acb7613..9da2277059 100644
--- a/apps/web/lib/webhook/sample-events/partner-enrolled.json
+++ b/apps/web/lib/webhook/sample-events/partner-enrolled.json
@@ -8,8 +8,10 @@
"tenantId": "64dc9a8c-5cf9-4446-b53b-cdc15199fafc",
"programId": "prog_CYCu7IMAapjkRpTnr8F1azjN",
"status": "approved",
- "createdAt": "2025-02-07T17:58:18.793Z",
+ "paypalEmail": null,
+ "stripeConnectId": null,
"payoutsEnabledAt": null,
+ "createdAt": "2025-02-07T17:58:18.793Z",
"clicks": 0,
"leads": 0,
"sales": 0,
diff --git a/apps/web/lib/zod/schemas/partners.ts b/apps/web/lib/zod/schemas/partners.ts
index 358db652be..543d658b27 100644
--- a/apps/web/lib/zod/schemas/partners.ts
+++ b/apps/web/lib/zod/schemas/partners.ts
@@ -154,9 +154,9 @@ export const EnrolledPartnerSchema = PartnerSchema.pick({
image: true,
description: true,
country: true,
- payoutsEnabledAt: true,
- stripeConnectId: true,
paypalEmail: true,
+ stripeConnectId: true,
+ payoutsEnabledAt: true,
createdAt: true,
})
.merge(