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 upstash.ts

Steven Teycaa53f3bd7da
diff --git a/apps/web/lib/upstash.ts b/apps/web/lib/upstash.ts
index fe298c7fc3..b48d825411 100644
--- a/apps/web/lib/upstash.ts
+++ b/apps/web/lib/upstash.ts
@@ -92,7 +92,7 @@ export async function formatRedisLink(
...(ios && { ios }),
...(android && { android }),
...(geo && { geo: geo as object }),
- ...(projectId && { projectId }), // for anonymous links
+ ...(projectId && { projectId }), // projectId can be undefined for anonymous links
};
}