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 updatePartnerProfileAction bug

Steven Tey069484156019
diff --git a/apps/web/lib/zod/schemas/partner-profile.ts b/apps/web/lib/zod/schemas/partner-profile.ts
index f9ac012d26..9b98d95162 100644
--- a/apps/web/lib/zod/schemas/partner-profile.ts
+++ b/apps/web/lib/zod/schemas/partner-profile.ts
@@ -175,7 +175,7 @@ export const partnerProfileChangeHistoryLogSchema = z.array(
z.union([
z.object({
field: z.literal("country"),
- from: z.string(),
+ from: z.string().nullable(),
to: z.string(),
changedAt: z.coerce.date(),
}),