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

Kiran Kec66b6aa3d01
diff --git a/apps/web/lib/middleware/bitly.ts b/apps/web/lib/middleware/bitly.ts
index a40fc4f342..afc12895f6 100644
--- a/apps/web/lib/middleware/bitly.ts
+++ b/apps/web/lib/middleware/bitly.ts
@@ -22,7 +22,7 @@ export const importBitlyLink = async (shortKey: string) => {
const userId = "";
const folderId = "";
- const apiKey = await redis.get<string>(`import:bitly:${workspaceId}`); // TODO: We might want to move this to a different key
+ const apiKey = await redis.get<string>(`import:bitly:${workspaceId}`);
if (!apiKey) {
console.error(`[Bitly] No API key found for workspace ${workspaceId}`);