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 K9f9130dc2a77
diff --git a/apps/web/app/(ee)/api/events/route.ts b/apps/web/app/(ee)/api/events/route.ts
index 28ebfdcc2c..e033171795 100644
--- a/apps/web/app/(ee)/api/events/route.ts
+++ b/apps/web/app/(ee)/api/events/route.ts
@@ -93,7 +93,7 @@ export const GET = withWorkspace(
return false;
}
- (folderIds || []).push(link.folderId);
+ folderIds?.push(link.folderId);
return true;
});