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.

docs fixes

Steven Tey08024b08be16
diff --git a/apps/docs/mint.json b/apps/docs/mint.json
index 14bf25c264..ca608985ab 100644
--- a/apps/docs/mint.json
+++ b/apps/docs/mint.json
@@ -30,7 +30,7 @@
"name": "Dashboard",
"url": "https://app.dub.co"
},
- "openapi": "http://api.localhost:8888",
+ "openapi": "http://api.dub.co",
"tabs": [
{
"name": "API Reference",
diff --git a/apps/docs/sdks/typescript/analytics/retrieve.mdx b/apps/docs/sdks/typescript/analytics/retrieve.mdx
index 7641006b52..f6dcacd0b8 100644
--- a/apps/docs/sdks/typescript/analytics/retrieve.mdx
+++ b/apps/docs/sdks/typescript/analytics/retrieve.mdx
@@ -17,9 +17,10 @@ description: Retrieve analytics for a link, a domain, or the authenticated works
</ParamField>
<ParamField body="groupBy" type="enum">
- The type of analytics to retrieve. Defaults to 'count' if undefined. Available
- options: `count`, `timeseries`, `countries`, `cities`, `devices`, `browsers`,
- `os`, `referers`, `top_links`, `top_urls`, and `trigger`.
+ The parameter to group the analytics data points by. Defaults to 'count' if
+ undefined. Available options: `count`, `timeseries`, `countries`, `cities`,
+ `devices`, `browsers`, `os`, `referers`, `top_links`, `top_urls`, and
+ `trigger`.
</ParamField>
<ParamField body="domain" type="string">
diff --git a/apps/web/lib/zod/schemas/analytics.ts b/apps/web/lib/zod/schemas/analytics.ts
index 773438745c..e3010118a5 100644
--- a/apps/web/lib/zod/schemas/analytics.ts
+++ b/apps/web/lib/zod/schemas/analytics.ts
@@ -32,7 +32,7 @@ const analyticsGroupBy = z
})
.default("count")
.describe(
- "The type of analytics to retrieve. Defaults to 'count' if undefined.",
+ "The parameter to group the analytics data points by. Defaults to 'count' if undefined.",
);
// For backwards compatibility