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 example url in openapi

Steven Tey815a663ee1b1
diff --git a/apps/web/lib/zod/schemas/links.ts b/apps/web/lib/zod/schemas/links.ts
index 5ee3eea18f..fd3b9bfbe9 100644
--- a/apps/web/lib/zod/schemas/links.ts
+++ b/apps/web/lib/zod/schemas/links.ts
@@ -113,7 +113,7 @@ export const createLinkBodySchema = z.object({
url: parseUrlSchemaAllowEmpty
.describe("The destination URL of the short link.")
.openapi({
- example: "https://google/com",
+ example: "https://google.com",
}),
domain: z
.string()
@@ -272,7 +272,7 @@ export const bulkUpdateLinksBodySchema = z.object({
url: parseUrlSchema
.describe("The destination URL of the short link.")
.openapi({
- example: "https://google/com",
+ example: "https://google.com",
})
.optional(),
}),