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.

can be null

Kiran K1c70ab707934
diff --git a/apps/web/lib/zod/schemas/domains.ts b/apps/web/lib/zod/schemas/domains.ts
index 68a8455fa8..7e6392014a 100644
--- a/apps/web/lib/zod/schemas/domains.ts
+++ b/apps/web/lib/zod/schemas/domains.ts
@@ -192,6 +192,9 @@ export const searchDomainSchema = z.object({
export const DomainStatusSchema = z.object({
domain: z.string().describe("The domain name."),
available: z.boolean().describe("Whether the domain is available."),
- price: z.string().describe("The price description."),
- premium: z.boolean().describe("Whether the domain is a premium domain."),
+ price: z.string().nullable().describe("The price description."),
+ premium: z
+ .boolean()
+ .nullable()
+ .describe("Whether the domain is a premium domain."),
});