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 type

Steven Tey85e82eef6a6e
diff --git a/apps/web/lib/zod/schemas/partners.ts b/apps/web/lib/zod/schemas/partners.ts
index 5979b993af..0893fa1b43 100644
--- a/apps/web/lib/zod/schemas/partners.ts
+++ b/apps/web/lib/zod/schemas/partners.ts
@@ -53,7 +53,7 @@ export const PartnerSchema = z.object({
email: z.string().nullable(),
image: z.string().nullable(),
description: z.string().nullish(),
- country: z.string(),
+ country: z.string().nullable(),
status: z.nativeEnum(PartnerStatus),
stripeConnectId: z.string().nullable(),
payoutsEnabled: z.boolean(),