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.

Update links.ts

Tim Wilsonadb76e3b2122
diff --git a/apps/web/lib/api/links.ts b/apps/web/lib/api/links.ts
index 68afd5c352..822243a327 100644
--- a/apps/web/lib/api/links.ts
+++ b/apps/web/lib/api/links.ts
@@ -575,8 +575,8 @@ export async function addLink(link: ProcessedLinkProps) {
data: {
...rest,
key,
- title: truncate(title || "", 120),
- description: truncate(description || "", 240),
+ title: truncate(title, 120),
+ description: truncate(description, 240),
image,
utm_source,
utm_medium,