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

Kiran Kd4bd32181f91
diff --git a/apps/web/app/api/analytics/route.ts b/apps/web/app/api/analytics/route.ts
index 801021ec84..a637366c61 100644
--- a/apps/web/app/api/analytics/route.ts
+++ b/apps/web/app/api/analytics/route.ts
@@ -124,7 +124,7 @@ export const GET = withWorkspace(
return false;
}
- (folderIds || []).push(link.folderId);
+ folderIds?.push(link.folderId);
return true;
});